# \[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:** 55

<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, 1:59pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1094 "2024-05-15T13:59:26Z")

</div>

Ah, so you added a `climate` entity but used a custom icon (water heater) what’s the same as for the water heater device 🙂

Just to summarize…

- you added the climate entity as climate device. Then you get some default capabilities (temp target/current) and the default hvac mode selection.
- the Homey device is only showing the default HA modes. I your case, the flow card should show the custom modes from your climate device (off, heat).

When using the mode flow card, the service `climate.set_hvac_mode` is called with parameter `hvac_mode: mode`. This should also work in HA developer tools if you start this service there.

But in your case, it seems this are only some dummy modes and the real modes are defined in the `select` entity.  
You can add this `select.water_heater_mode` in repair view to your climate device. Then you should get a new flow action to change the value for this entity. That should change the mode of your heater.

That’s the bad side of HA devices…it just a collection of entities 😉

---

<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 15, 2024, 7:43pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1095 "2024-05-15T19:43:43Z")

</div>

> [@RonnyW](#):
>
> Did you select an attribute from the entity while adding the entity?

Found it; the answer was in adding helpers.

---

<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, 8:07pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1096 "2024-05-15T20:07:17Z")

</div>

> [@Peter\_Kawa](#):
>
> My guess Ronny needs this states overview.

Thanks Peter !

 ![states](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/0214806f67ab23ef31cc5c1c4c455835117ffea6.png)

> [@RonnyW](#):
>
> When using the mode flow card, the service `climate.set_hvac_mode` is called with parameter `hvac_mode: mode`. This should also work in HA developer tools if you start this service there.
> 
> But in your case, it seems this are only some dummy modes and the real modes are defined in the `select` entity.

Thank you Ronny, correct.

> [@RonnyW](#):
>
> You can add this `select.water_heater_mode` in repair view to your climate device. Then you should get a new flow action to change the value for this entity. That should change the mode of your heater.

You might be actually a step ahead - I did not intend by changing Homey HAC thermostat device (Water heater) states to directly change device / entity in the HA (because of the non standard / dummy modes) - I’m setting the states already different way using CALL SERVICE. But naturally it was never reflected in that particular Homey HAC Thermostat device as such, so I was thinking to check the states and update/reflect Homey HAC thermostat device state accordingly. But my problem is that by calling SELECT THERMOSTAT MODE , the Homey GUI / device do not change it’s state at all - I thought I can kind of force it using this action (and vice versa - if I will change it using the device, then using CALL SERVICE, reflect it back in the HA. I was trying to avoid Device capability virtual device but seems I have no other choice, correct? 🙂

---

<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, 8:18pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1097 "2024-05-15T20:18:44Z")

</div>

The thermostat device (and the mode) will only change when the mode changes in HA - or when you select a mode manually what will have no effect for you in HA.

However, if an entity uses non standard modes in a climate entity, you will never see the correct state in the device GUI, because this mode list is predefined in the capability definition.

But adding the `select` entity to your thermostat device, you will see the current mode as sensor.  
You still can’t contol it via device GUI becaus it’s not possible to set a list seletion programmatically.  
But you get the value synced back to Homey when the state changes in HA.  
And you get a autocomplete list in the flow card. I thinks that’s easier that using basic service calls.

I don’t see another better way.

---

<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, 8:27pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1098 "2024-05-15T20:27:23Z")

</div>

Thank you, that was exactly what I suspected 🙂

> [@RonnyW](#):
>
> I thinks that’s easier that using basic service calls.

It is, no question about that - just having this setup for a year or so…

![servicecall](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/7/07f0b6594f39e317bb78d192d6f0e35208f59e75.png) vs ![autocompl](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/9710fc472f28369a8401422a1841a3f094dea88f.png)

> [@RonnyW](#):
>
> However, if an entity uses non standard modes in a climate entity, you will never see the correct state in the device GUI, because this mode list is predefined in the capability definition.

Yep, just it was kind of attempt for perfection - as I can set the temps but can’t set the “thermostat” modes - but never-mind, I will implement workaround, based on changing temp, so “turn the heated on”, just it will have always this state :  
 ![HAC_termo](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a583c76f4ac7964b48a9b6a8763632649d03028a.png) ![HACdev](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/b/dba29c30f066d9a240c5e7f1c967d7da0e450be7.png)

**Thanks Ronny for the consultations, I really appreciate your support ! (hopefully will also help someone else when dealing with similar problem)**

Btw, we have been dealing already with “non” standard Termostat modes for some other apps but in this particular case ,it’s probably really better to achieve it using Device Capabilities.  
Eg. Raychem termostat :  
 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4fe3512787b6f667c89319b0509f6ef411085043.png)  
probably using DC, I will use something like  
 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/1871f6aded0df1d9b31a8824410ee2381737bac7.png) (ignore labels) + UI Thermostat for temps…

---

<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 16, 2024, 5:06am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1099 "2024-05-16T05:06:32Z")

</div>

You can also use buttons/switches for a select entity. I use this for my wallbox. Using the converter, you can easily convert the select state into a switch 😉

Here is my example:  
The HA selection:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/6/6623f7e15a2f338adefa0a4cccd0491f30f5bb39.png)  
It’s using the `select.wattpilot_charging_mode` entity.

So I added the select entity to my HA device, but not as sensor but as switch:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/9132f511e730422d95b452642fdedd0c916b0379.png)

Using the select entity, this capability changes if the select entity state changes in HA.  
To get the switch set to a corresponding state, use the converter:

```auto
(value) => {
  if (value == 'Eco'){
    return true;
  }
  else{
    return false;
  }
}

```

In this case, the button gets active if the select state is “Eco” and inactive for others.

If you click the switch, you have to sync back the change to the select entity with a flow:

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

1. If alarm/switch turned on =\> set select entity value (you get this flow card because you added the select entity. This way you can easily select a valid value.
2. Just the opposite case

Then I can use the device button in Homey:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/14e659fb09ad7c5a29bfc8eb37287e7c15c85a20.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 16, 2024, 5:19am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1100 "2024-05-16T05:19:06Z")

</div>

I keep being astonished by the ability of developers of Homey apps finding their ways 😉 (and some users like Peter 😉 Thank you Ronny, will test later !

---

<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 16, 2024, 5:21am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1101 "2024-05-16T05:21:19Z")

</div>

My advantage is knowing the technical background behind the scenes 🙃 🕶

---

<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 26, 2024, 3:08pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1102 "2024-05-26T15:08:55Z")

</div>

I added a **newsletter subscription to my homepage**. There you can register to **get updated** if **new blog posts** are published.

[Newsletter – Ronny Winkler](https://rwdevelopment.de/newsletter/)

If you subscribe, you will get a mail to approve your mail address. Please check your SPAM folder if needed.

And if you have some questions, need examples or need a HowTo , that are worth to be published as a blog post, please let me know 😉  
Just ask here in the forum.

---

<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 28, 2024, 11:12am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1103 "2024-05-28T11:12:42Z")

</div>

Thank you; subscribed

---

<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 30, 2024, 10:13am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1104 "2024-05-30T10:13:57Z")

</div>

New **test version 1.5.22** :

- Added **app trigger for entity state changes**.  
Use this trigger card to listen for entity state changes withou adding a device.

Set an entity id and you get the new state as token if the state changes in HA.  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/f/0f703a94625f1342e5eae486af13c741c01af80b.png)

---

<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 30, 2024, 11:37am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1105 "2024-05-30T11:37:13Z")

</div>

That’s very neat, Ronny. Didn’t know yet I missed that card I can use very well 😊👍

---

<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 30, 2024, 11:39am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1106 "2024-05-30T11:39:39Z")

</div>

Thanks to @JB2K for the idea 🙂

---

<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 30, 2024, 3:03pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1107 "2024-05-30T15:03:27Z")

</div>

New **test version 1.5.23** :

- Changed app trigger ‘entity state changed’ to autocomplete field.

Please select your entity in the flow card again using the autocomplete list to keep the flow card working.

---

<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 30, 2024, 8:07pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1108 "2024-05-30T20:07:16Z")

</div>

Works great, thx!

---

<div class="post-metadata">

**Author:** ![eddiebullman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eddiebullman/32/79104_2.png) [@eddiebullman](https://community.homey.app/u/eddiebullman)\
**Post date:** [June 8, 2024, 3:01pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1109 "2024-06-08T15:01:42Z")

</div>

Hi having some issue after updating HA to 2024.6 I can’t add devises anymore have renewed the long-lived token but still no joy I just get the spinning wheel. devises that were added to homey before the update work fine just can add any new ones any ideas anyone

---

<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:** [June 8, 2024, 3:29pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1110 "2024-06-08T15:29:02Z")

</div>

Can you restart the app, please?  
I have seen this issue, too, but had no chance to debug it as it only seem to appear if the app was running along time.  
It seems, HA is not sending the entity list to Homey. An app restart should help.

---

<div class="post-metadata">

**Author:** ![eddiebullman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eddiebullman/32/79104_2.png) [@eddiebullman](https://community.homey.app/u/eddiebullman)\
**Post date:** [June 8, 2024, 4:07pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1111 "2024-06-08T16:07:43Z")

</div>

Hi Ronny have tried soft restart HA & Homey and App still no joy have also tried rolling HA back a version will try a hard restart of Homey next

---

<div class="post-metadata">

**Author:** ![larsern007](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/larsern007/32/55840_2.png) [@larsern007](https://community.homey.app/u/larsern007)\
**Post date:** [June 9, 2024, 7:33pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1112 "2024-06-09T19:33:05Z")

</div>

The app crashes all the time, meaning the devices goes offline, then online again, with a few minutes in-between. Happens often. I have tried stable- and test release, without any luck.

Report: 2dd93ba4-97c5-4819-b590-a7812065225c

---

<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:** [June 9, 2024, 7:38pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1113 "2024-06-09T19:38:50Z")

</div>

Hi,

crashes by CPU usages is mostly caused by the large amount of entity changes transmitted from HA.

Please check in HA which entity is causing this traffic.  
Take this post as reference:

> [@\[APP\]\[Pro\] Home Assistant - Community App](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/1084):
>
> 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] [grafik] [grafik] Go back and refresh. Then there should be some entity updates or events. [grafik] Don’t forget to deactivate the extended logging. If you can’t get into repair v…

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

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