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

<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:** [December 8, 2022, 8:05am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/162 "2022-12-08T08:05:02Z")

</div>

**Version 0.5.17 is live** now.  
So everyone can test the vacuum integration now.

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [December 8, 2022, 6:02pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/163 "2022-12-08T18:02:15Z")

</div>

Hi, Rob and Bob are doing fine!! 🤣🤣

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [December 10, 2022, 2:42pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/164 "2022-12-10T14:42:53Z")

</div>

Glad I’m not the only one who names their minions 🤣 I have 2 vacuums, Bob & Kevin

---

<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:** [December 10, 2022, 10:12pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/165 "2022-12-10T22:12:12Z")

</div>

New **test version 0.6.1** :

I added two helper entities:

- Timer
- Schedule

**Timer:**  
You can define a timer helper entity in HA and set a duration.  
From Homey you can control this timer using the device buttons (start, pause, stop, finish) or flow cards.  
There are device flow events that can be used ro react on timer events (started, finished…).  
You can change the timer duration using the “start timer” flow card with a duration amount (time or seconds). Or set the new duration in device settings. This value will be used with the next timer start (button/flow).  
The timer remaining time will only change on actions/events because HA doesn’t send updates for a running timer.

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

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

**Scheduler:**  
Define a schedule plan in HA. This plan will set up time slices where the schedule is “active” (or “on”).  
The Homey device will change its alarm state if the schedule event starts or ends. You can use these events as flow trigger to switch devices on or off based on the schedule.

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

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [December 12, 2022, 6:57pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/166 "2022-12-12T18:57:58Z")

</div>

I think I found a bug for the vacuum cleaner because my house is not cleaned for serveral days now… There is dust on the floor everywhere! 😁

And as soon as I checked the app of my vacuum cleaner, I saw it did not cleaned for 5 days now while it normally does that every day.

I thought, something is wrong in my flows, but they are all correct.

So I tried some things to replicate the bug…

It seems that the AND cards are not working. Strange thing is that this is working when I test the flow manually.

Here an example; In this case the light is turning on or off, but the vacuum doesnt start cleaning. But when I start the flow manually it works…

Any idea?

 ![Screenshot 2022-12-12 19.51.40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f1e98c62ede0651262a8298b0a34754c22665cdb.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:** [December 12, 2022, 9:36pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/167 "2022-12-12T21:36:43Z")

</div>

Hi @Marcel_Visser  
thanks for reporting. I changed the condition checks in the new test version 0.6.2. Please report if it’s working now.

Hi @JB2K  
I changed the way of changign timer duration. The text value is removed. Instead there are hours, minutes and seconds as flow argument or device settings. I hope it’s easier now to set the target duration.

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [December 13, 2022, 5:34am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/168 "2022-12-13T05:34:50Z")

</div>

It’s working fine now! Thanks for the quick fix!

---

<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:** [December 17, 2022, 9:04pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/169 "2022-12-17T21:04:05Z")

</div>

New **test version 0.7.0**  
Minimum **Firmware required: 8.1.0**

Here comes the long awaitet **update of the pairing dialog** 🎉

**New features:**

- **Multi selection** is possible now (starting with one selected device to prevent accidentially adding of all devices)
- **Continue button** is disabled if no device is selected
- Enter a search term. The **device list is filtered using the search term**. All devices are shown where teh saearch term is includes in device name. You will see the **amount of yound devices in the selec/deselect all button**
- You can **select/deselect all devices** like in the Athom dialog. Check the amount of devices. Filter the list with a search term is the list is too long (especially for sensor pairing)
- If you select more the one device, you can **still choose a custom icon**. If a custom icon is selected, the image file is assigned for all devices as independent copy. So you can change the icon for one device afterwards without affecting other devices.

**Firmware requirements**  
The pairing dialog uses the new Athom view added with firmware 8.1.0. The used elements and CSS styles require at least firmware 8.1.0.  
If your Homey is running a lower firmware version, you won’t be able to update the app. Please upgrade your Homey to the current firmware.

**Some examples:**

Start the pairing (some test buttons 🙂 ):  
First device is selected. “Select all” button shows the amount of selectable devices. Then select multiple devices:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/d/fdfc243f197ca5eff555468138dec5235e1f0e8c.png) ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e6e7ec018fb47bb3f1d4689f6a711be1919dd272.png)

Search for devices (red mark). The Select all button is showing the current amount of found devices (green mark).  
The “Button 3” keeps selected. All previously selected devices which are filtered out now got deselected. Deselect all devices will gray out the Continue button.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/e/2e411897c585b4cb1900fd6c8274fa71346da7e8.png) ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/899e48010f09d82932b4fe4d7bdacd35ce7b7024.png)

The new pairing dialog is based on the html/js code from Athoms dialog. The Atom code is copied and extended with the needed functionality, especially the search function which will be very helpful for very long sensor lists.  
Many thanks to Harwin from Athom who gave me a lot of technical support to implement the view 👋

---

<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:** [December 17, 2022, 10:14pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/170 "2022-12-17T22:14:37Z")

</div>

Very very nice, m8! You’ve reached is a new Homey level for the user interface, and user friendlyness, and… time saving!

 ![Screenshot from 2022-12-17 23-08-28](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/0/d01bbb9e887b1b59204561f44001888d4c1d0330.png)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [December 18, 2022, 11:15am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/171 "2022-12-18T11:15:52Z")

</div>

> [@RonnyW](#):
>
> **Continue button** is disabled if no device is selected

If in the selected device category no device listed at all, the **Continue button** is blue and it works. So when I push the button the next screen appears and it’s possible to choose an icon.  
Is that the way it is supposed to be?

 ![IMG_463D5A66E58C-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/6/96bedb327ed42379f476a899123398582486da65.jpeg) ![IMG_E19D48C9268E-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/01c849c016d73272ac869d08dce0350fdf2d32c7.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:** [December 18, 2022, 11:56am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/172 "2022-12-18T11:56:41Z")

</div>

No, it shouldn’t. Thanks for reporting.  
There is a special check for this condition where I have to hide the button. I’ll fix it tomorrow.

---

<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:** [December 19, 2022, 7:22am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/173 "2022-12-19T07:22:01Z")

</div>

The duplicated button in pairing dialog (in case of no decvices found) should be fixed with **test version 0.7.1**.

@DirkG: It woul be nice if could check again 🙂

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [December 19, 2022, 9:22am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/174 "2022-12-19T09:22:05Z")

</div>

Works perfect! 👍🏼  
Thx

---

<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:** [December 20, 2022, 8:02am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/175 "2022-12-20T08:02:59Z")

</div>

Push app to **stable version 1.0.0** (no changes since 0.7.1).

---

<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:** [December 28, 2022, 12:14pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/176 "2022-12-28T12:14:27Z")

</div>

New **test version 1.0.1** :

- **Flow action** added for lights to **set a relative light temperature** (+ or - a percentage value).  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c66af7f6a852080129cbdf2d9105ff64c169b201.png)

- Added possibility to use **deep JSON paths in Compound** definition.  
Example: a weather entity with an array of forecast attributes:  

```auto
weather:
  name: Wetter
  capabilities:
    measure_temperature.current: weather.dwd_weather_mainz_zdf.temperature
    measure_temperature.0d: weather.dwd_weather_mainz_zdf.forecast[0].temperature
    measure_temperature.1d: weather.dwd_weather_mainz_zdf.forecast[1].temperature
    measure_temperature.2d: weather.dwd_weather_mainz_zdf.forecast[2].temperature
  capabilitiesTitles:
    measure_temperature.current: "Temp. aktuell"
    measure_temperature.0d: "Temp. Vorh."
    measure_temperature.1d: "Temp. Vorh. +1d"
    measure_temperature.2d: "Temp. Vorh. +2d"

```

---

<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:** [December 29, 2022, 4:34pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/177 "2022-12-29T16:34:20Z")

</div>

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 events are triggered by your entities. Or make a short trace with this flow:

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

Events, which are already processed by the app (entity update, started scrips/automations, timers) are not available here because that would cause a massive load and memory usage to process all updates.

---

<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:** [January 7, 2023, 11:21am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/178 "2023-01-07T11:21:42Z")

</div>

New **test version 1.0.3** :

- **New filter fields** are added to the app **flow trigger “Event has been triggered”**.  
Use these fields to filter the eventy by up to three field from the data JSON object. Example:  
Hue event:  
Log the events with filter “hue\_event” to the HomeyLog. Copy the field names and values:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4adb6c012529f49bc809a4f58f5dbc90cb74ba1e.png)  
Then input the values into the flow card:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/1/b190927602405eaa7e2d51434df30ea6bc3f2ba9.png)  
This way you can react with this card on a single events (and type) of a single device.  
This example reacts on the first click (initial\_press) on the 1st button (subtype) of a Hue DimSwitch control (unique\_id).

- Possibility to **update Homey devices (capabilities) on changes on HA side**.  
This can be used to update the capabilities of a Homey device without deleting/re-adding it (and breaking flows). This is useful if a light buld is changed (white-\>color) using the same HA entity. Update the the device in Homey to add the color capabilities.  
Another use case is updating a compound device in HA (new capabilities, changed conversions…). Update the Homey device to import the new changes to your Homey device.  
This functionality can be found in the repair view of your Homey device:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7e08c9e03188ef00fa951594a33e9cce0ec22349.png)  
This update will remove all existing capabilities from the device and re-adds them depending on the current HA entity. So if capabilities are removed on HA side, they get removed in Homey, too.

---

<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:** [January 22, 2023, 9:08pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/179 "2023-01-22T21:08:00Z")

</div>

Hi Ronny,  
The ‘Update capabilities’ works great up 'til now.

Something else, I try to add a compound with PIR sensor values.  
The state values are on / off, but the device in Homey doesn’t ‘see’ the motion alarm.  
How can I translate it to true / false?

```auto
pir_hal_sensor:
  name: pir Hal (HA)
  #icon: mdi:account
  icon: alarm_motion
  capabilities:
    alarm_motion: binary_sensor.pir_hal_iaszone

```

I’ve tried this

```auto
    alarm_motion:
      from: (state) => { "on"; }
      to: (value) => { true; }

```

and this

```auto
    alarm_motion:
      {%- if is_state("binary_sensor.pir_hal_iaszone", "on") -%}
        true
      {%- else -%}
        false
      {%- endif -%}

```

---

<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:** [January 23, 2023, 5:54am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/180 "2023-01-23T05:54:36Z")

</div>

Hi Peter,  
I assume, the state attribute of your sensor has values like ‘on’ or ‘off’, right?  
For these states you don’t need a conversion. Just use the capabilities without `capabilitiesConverters` like:

```auto
pir_hal_sensor:
  name: pir Hal (HA)
  icon: alarm_motion
  capabilities:
    alarm_motion: binary_sensor.pir_hal_iaszone

```

If you want to add a converter, it must return a value.

```auto
  capabilitiesConverters:
    measure_numeric: 
      from: (state) => { return Math.round(state*100) / 100; }

```

The “state” is the entity attribute in this case. The function returns the calculated value.

PS:  
If the used entity attribute is a real boolean value (true/false) I think I have to add an additional check to the capability conversion. Now it allows 'on//‘off’ as values as that’s the default for entity states. So if you want to use another attribute than state than has bool values, I think it won’t work. So please check what values your entity has (in HAs developer view).

---

<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:** [January 23, 2023, 8:31pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/181 "2023-01-23T20:31:49Z")

</div>

Thanks Ronny,

In short: it now works, no clue why. I’ve only added some capabilities to the homey.yaml `pir_hal_sensor:` entry, and removed them later on.

Long version:  
Yes, state values are ‘on’ and ‘off’  
It did not respond without a conversion, and all other sensor values were updated correctly (device temp, illuminance, battery etc).

(Note: When I add the same sensor to Homey as new device, type ‘sensor’, that one works fine.)

So, I added all capabilities and in different types, to see what is going on, and to my surprise, the motion alarm started to work.

```auto
pir_hal_sensor:
  name: pir Hal (HA)
  icon: alarm_motion
  capabilities:
    alarm_motion: binary_sensor.pir_hal_iaszone
    alarm_generic.iaszone: binary_sensor.pir_hal_iaszone
    measure_generic.iaszone: binary_sensor.pir_hal_iaszone
    alarm_generic.occupancy: binary_sensor.pir_hal_occupancy
    measure_generic.occupancy: binary_sensor.pir_hal_occupancy
    measure_luminance: sensor.pir_hal_illuminance
    measure_temperature: sensor.pir_hal_temperature
    measure_numeric.rssi: sensor.pir_hal_rssi
    measure_battery: sensor.pir_hal_battery
  capabilitiesTitles:
    alarm_motion: "Motion"
    alarm_generic.iaszone: "iaszone (motion) alarm"
    measure_generic.iaszone: "iaszone (motion)"
    alarm_generic.occupancy: "occupancy alarm"
    measure_generic.occupancy: "Occupancy"
    measure_temperature: "Device Temp."
    measure_numeric.rssi: "RSSI"
    measure_battery: "Battery"

```

Then, I brought the file back again to only one line:

```auto
pir_hal_sensor:
  name: pir Hal (HA)
  icon: alarm_motion
  capabilities:
    alarm_motion: binary_sensor.pir_hal_iaszone

```

and now that also works.

I’m confused. I’m happy it works, but not knowing why it didn’t work at first is a bit annoying. I’m going to add another PIR and see how that goes.

~Peter

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

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