# \[APP\]\[Pro\] Home Assistant - Community App

**URL:** <https://community.homey.app/t/app-pro-home-assistant-community-app/71477>\
**Category:** Apps\
**Tags:** app, tools, homey-pro, home-assistant\
**Created:** [October 31, 2022, 8:25pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477 "2022-10-31T20:25:26Z")\
**Posts on this page:** 20\
**Page:** 54

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 27, 2024, 5:30pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1074 "2024-04-27T17:30:18Z")

</div>

Might be possible by downloading the source code;  
then change the app id, @ line 2, in `.homeycompose/app.json`  
into, like,  
`"io.home-assistant.community-2"`

 ![Screenshot_20240427-194938_GitHub](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/dd6ddf2f5e6a9f30b120641e44861740da197050.jpeg)

and then install it by CLI (search the forum ifor “how to cli”) as your second HAC app.  
Then connect it with your 2nd HA instance

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 27, 2024, 6:18pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1075 "2024-04-27T18:18:10Z")

</div>

Currently not. The app holds the credentials and the connection and all devices are passes through this connection.  
It’s mainly because the app “old” already had this settings before I took over.

---

<div class="post-metadata">

**Author:** ![Bulletcather](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bulletcather/32/13738_2.png) [@Bulletcather](https://community.homey.app/u/Bulletcather)\
**Post date:** [April 27, 2024, 6:33pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1076 "2024-04-27T18:33:39Z")

</div>

Is it possible to install the app twice?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 27, 2024, 6:35pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1077 "2024-04-27T18:35:23Z")

</div>

Only from CLI with a modified app.json (another app id) like Peter showed.

---

<div class="post-metadata">

**Author:** ![Bulletcather](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bulletcather/32/13738_2.png) [@Bulletcather](https://community.homey.app/u/Bulletcather)\
**Post date:** [April 27, 2024, 6:37pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1078 "2024-04-27T18:37:44Z")

</div>

Thanks this works!!

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 27, 2024, 6:41pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1079 "2024-04-27T18:41:17Z")

</div>

Btw… modify the /.homecompose.app.json and not the /app.json. The second one is generated from homeycompose.

---

<div class="post-metadata">

**Author:** ![Peter\_Johansson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_johansson/32/15617_2.png) [@Peter\_Johansson](https://community.homey.app/u/Peter_Johansson)\
**Post date:** [May 6, 2024, 4:10pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1080 "2024-05-06T16:10:08Z")

</div>

Hi! Since a couple of days ago my homey23 reports that the homeassistant app crashed when i looked at it today and did a mouse over the crashed sign it said “CPU limit reached”

Is it something wonkey with my homeassistant that is making this or it the homey?

Did a diag a0c2feaa-1653-4038-851a-51a15c94502e

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [May 6, 2024, 6:30pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1081 "2024-05-06T18:30:15Z")

</div>

A CPU limit crash is caused by a massive amount of entity update messages.  
A common reason is a device (representing an HA entity) that is synced back to HA. This can cause an entity update that is synced back to Homey again.

You have the MQTT Hub app running, right?  
Please check the MQTT Hub settings and deactivate all devices created with HA Community app.  
Then restart the Hub and check if both apps keep running.  
🤞

---

<div class="post-metadata">

**Author:** ![Peter\_Johansson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_johansson/32/15617_2.png) [@Peter\_Johansson](https://community.homey.app/u/Peter_Johansson)\
**Post date:** [May 7, 2024, 12:34pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1082 "2024-05-07T12:34:46Z")

</div>

@RonnyW Found that i had some loops!

But even after removal of this loops and also disabling of all mqtt it keeps crashing even after a full reboot. I also tried to remove all the devices added in homey but even without them the app keeps crashing.

Is it my homeassistant that is spamming the homey plugin and how can i find out what device is doing that?

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [May 7, 2024, 12:36pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1083 "2024-05-07T12:36:23Z")

</div>

**Entities and attributes.**

Hello,  
I need help with the below, I think it should work but I so can’t get it done on my own. The whole setup here is to integrate everything via HomeAssistant and not use the Homey Zigbee, which I no longer want to use.

An entity is now integrated via Zigbee from my HomeAssistant. The entity itself is available via the Homey Assistant community app in Homey. So far, so good.

Now this entity in Home Assistant also has attributes. See image below. Unfortunately, these attributes are not available in Homey. When I connect the entity directly to Homey via Zigbee, these attributes are available. An indication that they should therefore indeed also be available in Homey via Home assistant.

Who can explain to me in plain language IF and HOW I make the attributes below available in Homey? My eternal thanks will be yours!

The HomeAssistant Entity:

 ![IMG_20240507_080147](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/68d2045832c50a441683ef7690bbf9d36f4c8304.jpeg)

The attributes via HA developer tools  
(Specifically interested in “load\_power” and “voltage”):

 ![Screenshot_2024-05-07-07-45-09-08](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/c/5c34556eaf2b8e798ae8d2c4144aa578fc74e552.jpeg)

The Entities as available in Homey today :

 ![Screenshot_2024-05-07-08-04-55-00_4bbfc4a7dd885a2bb189f300112a7ed4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/9/49187396bf100c58158baabafb2fd76229a7f063.jpeg)

The entities as they are available in Homey via the Homey integration (Power and Energy):

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b62b1e1d8515b41da116ab2f2ecb4823fbfaf2d9.jpeg)

[Link to dutch version](https://community.homey.app/t/tutorial-pro-home-assistant-integreren-met-homey/77587/75)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [May 7, 2024, 3:30pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1084 "2024-05-07T15:30:58Z")

</div>

> [@Peter\_Johansson](#):
>
> Is it my homeassistant that is spamming the homey plugin and how can i find out what device is doing that?

It sounds as if something is creating a lot of entity changes or events in HA.  
If the app keeps alive for a time , you can log all entity updates and check if there is an entity that’s causing this traffic.  
Go ot repair view of any device (you will need at least one). Then activate extended logging:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a898c3b5da22ad8daef140e66fad67d35864eee5.png)

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/95137c672d5f825f0fa90f98981d51c6ed1aef22.png)

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/1596e283b8b6f49f1c8544187168536437f2a0a1.png)

Go back and refresh. Then there should be some entity updates or events.  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/e/de7f0f00dcac11a79a92b00c66175cab009db83a.png)

Don’t forget to deactivate the extended logging.

If you can’t get into repair view in case the app crashes too fast, the please check the HA logs in developer tools:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/c/5cce339101f18c68f8925b2cc6fdb585c2946860.png)

If you want to lof entity changed, just listen to “state\_changed” events:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2c3f4f17a65e963cb9c2b4de5753facc9fd16b71.png)

I hope that helps.

Edit: You can also check the statistics in device repair function to get an overview about the amout of messages:

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/6/a64acdc0d1df72ea0ceeb522ed7a76fca8b38859.png)

The 30sec amount can be a good indicator:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/babf496255011bc95adfcafda53a7baebeea2ce6.png)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [May 7, 2024, 3:39pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1085 "2024-05-07T15:39:23Z")

</div>

> [@Jan\_Peeters](#):
>
> Now this entity in Home Assistant also has attributes.

Did you select an attribute from the entity while adding the entity?

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/b/5b0e5a720efc0d2b11f5fc4389647addc858896d.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Johansson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_johansson/32/15617_2.png) [@Peter\_Johansson](https://community.homey.app/u/Peter_Johansson)\
**Post date:** [May 8, 2024, 8:53am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1086 "2024-05-08T08:53:19Z")

</div>

Im so gratefull @RonnyW

Big thank you for your support and also this lovely app!

I found the culprit it was the unifi integration in homeassistant that was connected to my UDM pro it was spamming the homeassistant with temperatur informations that then lead to the problem against homey app.

So now everything is working without any crashes!

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [May 15, 2024, 10:45am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1087 "2024-05-15T10:45:22Z")

</div>

@RonnyW , any idea why changing thermostat mode do not change anything (THEN action card) ? Am I setting it wrong ? (I must manage it via flows as it’s Water heater / not standard thermostat)

![thermostatmode](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63cfe66895279e44fdcf6df78cefca8a628fc866.png)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [May 15, 2024, 11:00am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1088 "2024-05-15T11:00:28Z")

</div>

You have to use the device internal mode `Select mode`.

This way you get the modes from your device as an autocomplete list.  
This card sends a service call to HA:  
Service: water\_heater.set\_operation\_mode  
Parameter: operation\_mode: mode

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [May 15, 2024, 11:20am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1089 "2024-05-15T11:20:43Z")

</div>

> [@RonnyW](#):
>
> You have to use the device internal mode `Select mode`.

Hm, I don’t see this option for thermostat type of HAC device … or did I get you wrong ?

> [@RonnyW](#):
>
> Service: water\_heater.set\_operation\_mode  
> Parameter: operation\_mode: mode

This will not work as this is not standard thermostat device.  
 ![HAbojler](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/a/aadc1630b3e66115a17b52c9d0735d2d01c6f791.png)

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [May 15, 2024, 11:26am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1090 "2024-05-15T11:26:25Z")

</div>

Just to explain my use case - I can change the thermostat modes in the HA, that’s not a problem but I would like to get it reflected also by the Thermostat device from HAC in Homey using trigger I have…

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [May 15, 2024, 11:26am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1091 "2024-05-15T11:26:43Z")

</div>

I think you are mixing two HA domains.  
Your flow card shows a water heater icon. So it seems you added your entity as water heater.

Can you please check if your HA “device” is using different entities/domains?  
Where is the mode defined (I think water heater entity).  
Where is the thermostat defined (climate domain?)

Can you please show the details of your entity/entities?

Another question: Did you add additional entities/attributes to your water hearer device (Thermostat mode)?

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [May 15, 2024, 11:43am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1092 "2024-05-15T11:43:05Z")

</div>

> [@RonnyW](#):
>
> Your flow card shows a water heater icon. So it seems you added your entity as water heater.

Maybe we don’t understand each other or maybe it’s getting too complex for me 😉

Let’s simplify, just to prevent possible misunderstanding - when I run :  
 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63cfe66895279e44fdcf6df78cefca8a628fc866.png)

The Homey device stays in this mode after running this action (…so it’s relaying on the real update from HA ?) :  
 ![thermostatHomey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4f01a996b27cc8fecca39ff82521e8bd272ac659.png)

> [@RonnyW](#):
>
> So it seems you added your entity as water heater.

That Homey device is `climate.water_heater_thermostat` and in HA I see following particular entity IDs

 ![HA](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1ae146c6436d5abe3a7500f7ac31c1a978a06110.png)

> [@RonnyW](#):
>
> Where is the mode defined (I think water heater entity).

It’s under `select.water_heater_mode` (it’s ESP32 integration…)

 ![esphomeview](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4f7abf26f914f6acafdb227cb95b705b72bcf11d.png)

> [@RonnyW](#):
>
> Where is the thermostat defined (climate domain?)
> 
> Can you please show the details of your entity/entities?

Apologies Ronny, this is what you mean ? 🫢

```auto
{
  "climate.water_heater_thermostat": {
    "entity_id": "climate.water_heater_thermostat",
    "state": "off",
    "attributes": {
      "hvac_modes": [
        "off",
        "heat"
      ],
      "min_temp": 40,
      "max_temp": 80,
      "target_temp_step": 1,
      "current_temperature": 65,
      "temperature": 65,
      "hvac_action": "idle",
      "friendly_name": "Water heater thermostat",
      "supported_features": 385
    },
    "context": {
      "id": "01HXXXSX9E6XSVWNSEATXYRZG5",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T01:47:44.952Z",
    "last_updated": "2024-05-15T10:47:09.358Z"
  },
  "sensor.water_heater_temp1": {
    "entity_id": "sensor.water_heater_temp1",
    "state": "63.1",
    "attributes": {
      "unit_of_measurement": "°C",
      "icon": "mdi:thermometer",
      "friendly_name": "Water heater temp1"
    },
    "context": {
      "id": "01HXXYDR0KEX2EYNYBJACS8ETC",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T10:57:59.315Z",
    "last_updated": "2024-05-15T10:57:59.315Z",
    "homey_capability": "measure_temperature.sensor.water_heater_temp1"
  },
  "sensor.water_heater_temp2": {
    "entity_id": "sensor.water_heater_temp2",
    "state": "65.1",
    "attributes": {
      "unit_of_measurement": "°C",
      "icon": "mdi:thermometer",
      "friendly_name": "Water heater temp2"
    },
    "context": {
      "id": "01HXXXSX9D7YAFAG1ZMMAX0B7C",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T10:47:09.357Z",
    "last_updated": "2024-05-15T10:47:09.357Z",
    "homey_capability": "measure_temperature.sensor.water_heater_temp2"
  },
  "sensor.water_heater_energy": {
    "entity_id": "sensor.water_heater_energy",
    "state": "8555.669",
    "attributes": {
      "state_class": "total_increasing",
      "unit_of_measurement": "kWh",
      "device_class": "energy",
      "icon": "mdi:flash",
      "friendly_name": "Water heater energy"
    },
    "context": {
      "id": "01HXXY6BNWB8Q4BKZ74VRSH2N3",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T10:53:57.308Z",
    "last_updated": "2024-05-15T10:53:57.308Z",
    "homey_capability": "meter_power.sensor.water_heater_energy"
  },
  "sensor.water_heater_state": {
    "entity_id": "sensor.water_heater_state",
    "state": "Connected",
    "attributes": {
      "friendly_name": "Water heater state"
    },
    "context": {
      "id": "01HXWYY79W8JGTNDCTCR56QQGY",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T01:47:44.828Z",
    "last_updated": "2024-05-15T01:47:44.828Z",
    "homey_capability": "measure_generic.sensor.water_heater_state"
  },
  "sensor.water_heater_version": {
    "entity_id": "sensor.water_heater_version",
    "state": "fw:1.78, board: 431, S/N: 35813",
    "attributes": {
      "friendly_name": "Water heater version"
    },
    "context": {
      "id": "01HXWYY7A7VNK66ZBVQGTB5HYS",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T01:47:44.839Z",
    "last_updated": "2024-05-15T01:47:44.839Z",
    "homey_capability": "measure_generic.sensor.water_heater_version"
  },
  "sensor.water_heater_name": {
    "entity_id": "sensor.water_heater_name",
    "state": "SmartBoiler\u0000\u0000\u0000\u0000\u0000",
    "attributes": {
      "friendly_name": "Water heater name"
    },
    "context": {
      "id": "01HXWYY79XFVC90GA0QZV476SN",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T01:47:44.829Z",
    "last_updated": "2024-05-15T01:47:44.829Z",
    "homey_capability": "measure_generic.sensor.water_heater_name"
  },
  "binary_sensor.water_heater_hdo": {
    "entity_id": "binary_sensor.water_heater_hdo",
    "state": "off",
    "attributes": {
      "friendly_name": "Water heater HDO"
    },
    "context": {
      "id": "01HXWYY7TCWR7PJQCW2Z9MQKDK",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T01:47:45.356Z",
    "last_updated": "2024-05-15T01:47:45.356Z",
    "homey_capability": "alarm_generic.binary_sensor.water_heater_hdo"
  },
  "binary_sensor.water_heater_heat": {
    "entity_id": "binary_sensor.water_heater_heat",
    "state": "off",
    "attributes": {
      "friendly_name": "Water heater heat"
    },
    "context": {
      "id": "01HXXXSW932QYEAQ4K5JZ1GT0F",
      "parent_id": null,
      "user_id": null
    },
    "last_changed": "2024-05-15T10:47:08.323Z",
    "last_updated": "2024-05-15T10:47:08.323Z",
    "homey_capability": "alarm_generic.binary_sensor.water_heater_heat"
  }
}

```

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 15, 2024, 12:22pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1093 "2024-05-15T12:22:03Z")

</div>

My guess Ronny needs this states overview.  
Enter ‘water\_heater’ in the “Filter entities” bar

> ![Screenshot_20240515-142018_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/f/0fdfaddc80b296b65976039492c98f48e5405d67.jpeg)

[Previous page](https://community.homey.app/t/app-pro-home-assistant-community-app/71477.md?page=53)

[Next page](https://community.homey.app/t/app-pro-home-assistant-community-app/71477.md?page=55)
