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

<div class="post-metadata">

**Author:** ![Vnet](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@Vnet](https://community.homey.app/u/Vnet)\
**Post date:** [March 13, 2023, 6:01pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/326 "2023-03-13T18:01:20Z")

</div>

Well, i forgot to say that its the homey cloud. Maybe that is the reason. Other devices do work

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/5/355f09ed1f7c79febdb15a3b97514eec71bd7b49.jpeg)

---

<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:** [March 13, 2023, 6:20pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/327 "2023-03-13T18:20:26Z")

</div>

@Vnet  
Well, for Homey cloud you can only use the Athom app.  
This thread/app is for the community app you can only use on HomeyPro.

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [March 13, 2023, 6:52pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/328 "2023-03-13T18:52:52Z")

</div>

also weird , yours works way better. but nice they allow yours at least

---

<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:** [March 13, 2023, 6:53pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/329 "2023-03-13T18:53:21Z")

</div>

> [@Vnet](#):
>
> that its the homey cloud

😑

I should’ve asked first 😆

---

<div class="post-metadata">

**Author:** ![Vnet](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@Vnet](https://community.homey.app/u/Vnet)\
**Post date:** [March 13, 2023, 7:31pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/330 "2023-03-13T19:31:52Z")

</div>

Sorry, BUT, i have a homey 2016 as well (just fixed the board), so there it probably will work .

Thanks anyway

---

<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:** [March 13, 2023, 7:33pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/331 "2023-03-13T19:33:17Z")

</div>

Yep, should work there. Just try and ask again if you get issues 🙂

---

<div class="post-metadata">

**Author:** ![Vnet](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@Vnet](https://community.homey.app/u/Vnet)\
**Post date:** [March 13, 2023, 8:17pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/332 "2023-03-13T20:17:41Z")

</div>

Lol, i just tested it on my good ol homey pro with first my script (fail due to indent), then copy paste peter-kawa script, and it immediately worked (community app of course).  
Case closed.

---

<div class="post-metadata">

**Author:** ![JOR1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jor1/32/17206_2.png) [@JOR1](https://community.homey.app/u/JOR1)\
**Post date:** [March 21, 2023, 2:10pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/333 "2023-03-21T14:10:26Z")

</div>

Hi. I have two Melissa Climate devices. They both work fine i Homey, but I would like to add power capabilities to the Homey climate devices from smartplugs (allways on). Is there an easy way to do this as a compound device, or would it be an idea to make an option for this for the climate devices just as for the switch devices?

---

<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:** [March 21, 2023, 2:39pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/334 "2023-03-21T14:39:32Z")

</div>

Compound would work. But easiest way would be to add the power settings for climates, too. I’ll check it 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:** [March 21, 2023, 7:17pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/335 "2023-03-21T19:17:31Z")

</div>

New **test version 1.2.6**

- **Power entity settings** added to **climate and fan** devices

> **[Home Assistant Community](https://homey.app/en-us/app/io.home-assistant.community/Home-Assistant-Community/)**
>
> Connect to Home Assistant

@JOR1 Could you please try the test version if you can add your power entity to your climate device in device settings? Thanks.

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jannick/32/27301_2.png) [@Jannick](https://community.homey.app/u/Jannick)\
**Post date:** [March 23, 2023, 7:55am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/336 "2023-03-23T07:55:47Z")

</div>

Hi!

Is there a way to get better handling of buttons? I have a few Hue Wall Switches and Hue Wall Switch Modules. But, they only have a ‘battery’ entity, no separate entities for each button.

What I do know when I want to use them in my Homey flows is create a ‘Helper’ button or switch for them. In a HA automation I hit the virtual button when one of the ‘real’ buttons on one of the Hue devices is pressed.

It would be great if Homey somehow knew one of the buttons on the devices is pressed without needing HA helpers and automations.

Thank you!

---

<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:** [March 23, 2023, 8:15am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/337 "2023-03-23T08:15:27Z")

</div>

> [@Jannick](#):
>
> It would be great if Homey somehow knew one of the buttons on the devices is pressed without needing HA helpers and automations.

Hi Jannick,

HA has no device/entity for buttons. HA only uses events that get fired on a button press.  
So you won’t get a device representation in Homey, but you can react on the events via flow.  
Check out this example for a HueTap. You can use this similar for a HueButton/HueDim.

Just add the flow card with empty fields als log the provides tags into the timeline. Then check the timeline what event\_type, data, button id is used by HA. This data you can add to the flow card to react only on a specific button.

HowTo:

> [@\[APP\]\[Pro\] Home Assistant - Community App](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/177):
>
> New test version 1.0.2: Fix for Compound update issue for entity states. Added app flow trigger for HA events. Changed pairing view to start without a selected device Please take a look on the apps memory usage, as there are many events the app could process a flow trigger for. Please report if you see an high memory usage or rapid increase. You can start flows depending on an HA event (filtered by event or entity). The events can’t be provided as selection list, so you have to check what e…

…and the following post

Example:

> [@\[APP\]\[Pro\] Home Assistant - Community App](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/205):
>
> As example for HA events I want to share an AdvancedFlow which reacts on HueTap events to control a receiver (on/off, input an volume). On/off using a short and long press event: Change volume or light brightness using the ring. The button click stores its number in a variable to remember the currently used device. It gets reset after 10sec with a timer. The ring step count (turning length) is read from the event data (JSON) and used to calculate the volume ch…

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jannick/32/27301_2.png) [@Jannick](https://community.homey.app/u/Jannick)\
**Post date:** [March 23, 2023, 8:27am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/338 "2023-03-23T08:27:35Z")

</div>

Thank you for the fast response, great! I did not know and will try this in my flows 🙂

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jannick/32/27301_2.png) [@Jannick](https://community.homey.app/u/Jannick)\
**Post date:** [March 23, 2023, 2:57pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/339 "2023-03-23T14:57:53Z")

</div>

I managed to integrate the method in my flows, but… Somehow my Homey Pro 2023 disabled a lot of flows where I used this exact method you send @RonnyW becuase of it being triggerd too many times. This hasn’t happend since I have the Homey, but only after I added the Home Asssitant events as triggers.

The triggers look like this:  
 ![SCR-20230323-m5i](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/70b46e043ca6ddc520b0ce50b13d28fd23da9f69.png)

And my Homey gave the messages:

 ![SCR-20230323-m3t](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/f/2f35051c9a143cc195e9bb64105e773aae3a0ff9.png)

All flows got turned off at the same time by Homey.

Thank you!

---

<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:** [March 23, 2023, 3:09pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/340 "2023-03-23T15:09:42Z")

</div>

What app version have you installed? Latest version?

There was an issue in the past on reconnect to HA, that event listener haven’t been removed due to a too long processing time in HA.

Pease update to current live version (if it’s not already updated).  
If you have latest version. then restart the app.

After that, the flow should only be triggered once on a button press.

In addition you can check in HAs developer tools how often the event is triggered.

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jannick/32/27301_2.png) [@Jannick](https://community.homey.app/u/Jannick)\
**Post date:** [March 23, 2023, 3:15pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/341 "2023-03-23T15:15:33Z")

</div>

I was running v1.2.5 but updated to the ‘test’ version v1.2.6 just now.

In the developer log of HA I can see the hue\_event is only triggered when I hit a button.

But what I did had to do was restart HA around that time. Maybe this happend when I restarted HA to update some HACS stuff.

---

<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:** [March 23, 2023, 3:20pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/342 "2023-03-23T15:20:13Z")

</div>

That’s strange. While HA restart, only the entity list should be updated.  
If I remember right, HA is buffering events. Perhaps that’s the case and it’s sending all buffered events after the restart. I’m nut sure if I can prevent this. Perhaps I can ignore ‘old’ events, but then other events will be missed (if you are waiting for timer events or something like that).

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jannick/32/27301_2.png) [@Jannick](https://community.homey.app/u/Jannick)\
**Post date:** [March 23, 2023, 3:29pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/343 "2023-03-23T15:29:13Z")

</div>

Managed to trigger this when:

- Restart Home Assistant
- Turn on/off a bulb 3 times using Hue Wall Switch Module. The event the module triggers is used to turn off/on the bulb. Like in my previous screenshots.
- Restart Home Assistant

Right when I started restarting for the second time I got like 3/4 notifications per advanced flow from Homey about the flow being turned off because it was triggered too many times. See screenshot:

 ![SCR-20230323-mub](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6c5ce6db272a61eeb96532b6e25612637f644931.jpeg)

---

<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:** [March 23, 2023, 3:49pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/344 "2023-03-23T15:49:33Z")

</div>

I can’t reproduce this issue with a HueTap. Every button press in reported once also after/while some HA restarts. Perhaps that’s an issue of the HA integration? Du you have other Hue buttons (dim button) to test with?

If HA is sending so many events, the Homey app can’t do anything.  
I can see there is a timestamp inside the event (when it was fired). But the paa doesn’t know if you pressed the button 5x/sec or if that are duplicated HA events.

Can you double check with a HA automation that sends you push messages? Just to be sure it’s caused by HA?

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jannick/32/27301_2.png) [@Jannick](https://community.homey.app/u/Jannick)\
**Post date:** [March 23, 2023, 3:58pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/345 "2023-03-23T15:58:48Z")

</div>

I made a HA automation that sends me a message when a hue\_event happens. This sends me nicely 2 messages when I hit the Hue Wall Switch Module:

- Initial press
- Short release

I did this a few times and then restarted Home Assistant. As soon as Home Assistant was running again and some of the integrations loaded my flows were all disabled by the Homey.

I did not get any notifications from my HA automation at the moment Homey disabled the flows.

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

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