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

<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:** [September 25, 2023, 8:20pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/768 "2023-09-25T20:20:35Z")

</div>

Yeah, that’s a kind of special integration for this device.  
The HA app must be generic as much as possible to keep support for all HA stuff.  
That’s why I won’t add special device support directly.

But if you add a Hue tap integrationto HA (I’ve seen a integration to add directly usable events to HA but don’t know the name - perhaps @JB2K knows it?), you perhaps can use these events instead od HAs raw events.

---

<div class="post-metadata">

**Author:** ![JB2K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jb2k/32/134070_2.png) [@JB2K](https://community.homey.app/u/JB2K)\
**Post date:** [September 25, 2023, 8:55pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/769 "2023-09-25T20:55:14Z")

</div>

I have it as a sensor that displays the current “waarde”

 ![IMG_0509](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/022db316801a0578f3c5c835d078df3a1fccb52e.jpeg)

But I have mine trough Z2m but should be the same

---

<div class="post-metadata">

**Author:** ![Lipas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lipas/32/72447_2.png) [@Lipas](https://community.homey.app/u/Lipas)\
**Post date:** [September 25, 2023, 9:08pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/770 "2023-09-25T21:08:27Z")

</div>

When I am trying to add new sensor to HP23, I have only hue Battery sensor and nothing more.

In my HA I have few more entities (see picture).

 ![Screenshot_2023_0925_230749](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/6872e8b6da70a3275e58a77ff68722daf5e1889d.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:** [September 25, 2023, 9:15pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/771 "2023-09-25T21:15:22Z")

</div>

Hie tap is not a sensor. You can

- use custom integrations to get a HA sensor (that changes its state based on the events)
- make custom automations to change a helper entity state based on events
- use HA raw events (my example)

If you want to get an easier way to work with sucv events, you have to search for spacial HA integrations doing for you what you would do with Homey flows.

---

<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:** [September 25, 2023, 9:34pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/772 "2023-09-25T21:34:27Z")

</div>

> [@JB2K](#):
>
> I have it as a sensor that displays the current “waarde”

Aren’t you using a custom HA integration to get direct events in HA (one click, long click…)?

I haven’t used such integrations yet, just use raw events in Homey flows. But perhaps your way is an easier way to get easier start.

---

<div class="post-metadata">

**Author:** ![JB2K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jb2k/32/134070_2.png) [@JB2K](https://community.homey.app/u/JB2K)\
**Post date:** [September 26, 2023, 5:02am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/773 "2023-09-26T05:02:50Z")

</div>

It’s build in now!

> **[Event](https://www.home-assistant.io/integrations/event)**
>
> Instructions on how to use event entities in Home Assistant.

---

<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:** [September 26, 2023, 12:45pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/774 "2023-09-26T12:45:50Z")

</div>

Hi!

I use this app sometime now, and it’s really a lifesaver!

Now I wanted to add my LG TV’s that are integrated in Home Assistant to Homey. I want to do it this way, because the LG integration in Homey is broken for me. The HA integration works flawlessly, like a lot of HA integrations.

There is no ‘TV’ option I can choose when adding a new device using this app. I can choose ‘Media Player’ but this does not give me the option to turn the TV on or off.

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:** [September 26, 2023, 12:59pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/775 "2023-09-26T12:59:15Z")

</div>

Yes, TVs are media players in HA. And it depends on the feature attribute, which features a media entity supports.  
If I remember right, the LG doesn’t support on/off feature. It’s using HDMI-CEC or WoL from HA.

> **[LG webOS Smart TV](https://www.home-assistant.io/integrations/webostv/#turn-on-action)**
>
> Instructions on how to integrate a LG webOS Smart TV within Home Assistant.

I think you have to add WoL support in HA. But I don’t know the details. If it’s possible to add a new entity using WoL integration, you could add this entity as switch or button to your media device in Homey.  
Perhaps @JB2K can support again? 😅

---

<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:** [September 27, 2023, 11:32pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/776 "2023-09-27T23:32:36Z")

</div>

@RonnyW , not sure if someone asked already but is there some easy way to combine sensors ?  
Eg. I’m trying to import from ESPHOME BLE Xiaomi Flora devices but seems it’s 6x6 entities for each sensor.

![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/2/82404e5767e6503d7487c15b5210df9c99a944f6.png)

Is there some other way, except of using CUSTOM DEVICE and search and add each and every entity separately ?

Thank you

---

<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:** [September 28, 2023, 12:26am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/777 "2023-09-28T00:26:39Z")

</div>

When you add f.i. ‘moisture Buxus left’ as sensor (which will be the main capability), you can _afterwards_ add all related device sensors (and switches/buttons), by entering the device settings, and tick 1 or 2 boxes: “Show device sensors” and optionally “Show device diagnostic sensors”

 ![ha_settings](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/1/d1354abcb56801284ca256b9b346da23ddca29f0.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:** [September 28, 2023, 5:58am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/778 "2023-09-28T05:58:22Z")

</div>

Thank you Peter, indeed I have forgotten about that option but in this case it do not work unfortunately. It’s one device with 38 entities… I see you have your Xiaomi Flora’s added into HA as well, if it’s also via ESPHOME - would you mind to share your YAML, mostly this part ? Otherwise I’m not sure why it doesn’t work for me this time.

```auto
sensor:
  - platform: xiaomi_hhccjcy01
    mac_address: 'c4:7c:8d:67:b3:2a'
    temperature:
      name: "Xiaomi MiFlora Temperature Buxus left"
    moisture:
      name: "Xiaomi MiFlora Moisture Buxus left"
    illuminance:
      name: "Xiaomi MiFlora Illuminance Buxus left"
    conductivity:
      name: "Xiaomi MiFlora Soil Conductivity Buxus left"
    battery_level:
      name: "Xiaomi MiFlora Battery Level Buxus left"
      
  - platform: xiaomi_hhccjcy01
    mac_address: 'c4:7c:8d:6c:96:6f'
    temperature:
      name: "Xiaomi MiFlora Temperature Strawberry"
    moisture:
      name: "Xiaomi MiFlora Moisture Strawberry"
    illuminance:
      name: "Xiaomi MiFlora Illuminance Strawberry"
    conductivity:
      name: "Xiaomi MiFlora Soil Conductivity Strawberry"
    battery_level:
      name: "Xiaomi MiFlora Battery Level Strawberry"
  
  - platform: xiaomi_hhccjcy01
    mac_address: 'c4:7c:8d:6d:d7:77'
    temperature:
      name: "Xiaomi MiFlora Temperature Cactus"
    moisture:
      name: "Xiaomi MiFlora Moisture Cactus"
    illuminance:
      name: "Xiaomi MiFlora Illuminance Cactus"
    conductivity:
      name: "Xiaomi MiFlora Soil Conductivity Cactus"
    battery_level:
      name: "Xiaomi MiFlora Battery Level Cactus"

```

---

<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:** [September 28, 2023, 6:28am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/779 "2023-09-28T06:28:43Z")

</div>

Hi @Sharkys,  
If you add all Sensors this way to HA I think you get all values as single sensor entity, but no HA device grouping these sensors.

In this case, you only can add all ‘main’ sensors as a Homey device and then add the additional sensors for every device in repair view. Or just start with ‘custom device’ and add sensors via repair view.  
The advantage of this way of adding:  
You can change the capability name and add a entity as main capability, so it’s recognized by other apps.

---

<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:** [September 28, 2023, 3:44pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/780 "2023-09-28T15:44:07Z")

</div>

My flower sensors are used with a Ble USB dongle 😉  
 ![Screenshot_10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/aff20176874378909575149516ef1ccf11125a32.png)

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [September 29, 2023, 4:36pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/781 "2023-09-29T16:36:18Z")

</div>

There is an ESPhome app.  
It’s definitely not done yet but you’d could check to see if it works for you

---

<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:** [September 29, 2023, 7:15pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/782 "2023-09-29T19:15:30Z")

</div>

Yeah, I noticed but problem is I can’t avoid HA and lacking performance/memory for additional apps ☹ (yep, on HP23)

---

<div class="post-metadata">

**Author:** ![owuerker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/owuerker/32/39707_2.png) [@owuerker](https://community.homey.app/u/owuerker)\
**Post date:** [September 29, 2023, 11:12pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/783 "2023-09-29T23:12:45Z")

</div>

I did it with the HA Compound and add it to the homey.yaml  
In HA the Xiaomi flora devices are add through the ESP32 BLE Proxy,  
So maybe this will help. Working fine for me 😉

homey.yaml  
plant1:  
name: “Pflanze01”  
capabilities:  
measure\_temperature: sensor.pflanze01\_temperature  
measure\_humidity: sensor.pflanze01\_soil\_moisture  
measure\_co: sensor.pflanze01\_conductivity  
measure\_luminance: sensor.pflanze01\_illuminance  
measure\_battery: sensor.pflanze01\_battery  
measure\_generic.water: plant.pflanze01.moisture\_status  
measure\_generic.conductivity: plant.pflanze01.conductivity\_status  
measure\_generic.temperature: plant.pflanze01.temperature\_status  
measure\_generic.illuminance: plant.pflanze01.illuminance\_status  
capabilitiesTitles:  
measure\_temperature: Temperatur  
measure\_humidity: Feuchtigkeit  
measure\_co: Dünger  
measure\_luminance: Helligkeit  
measure\_battery: Batterie  
measure\_generic.water: Feuchtigkeit  
measure\_generic.conductivity: Dünger  
measure\_generic.temperature: Temperatur  
measure\_generic.illuminance: Helligkeit  
capabilitiesUnits:  
measure\_co: µS/cm

 ![Bildschirmfoto 2023-09-30 um 01.14.22](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/f/1f42d3450d7d28bbf798234005f9bfde73acc38f.jpeg)

---

<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:** [September 30, 2023, 10:27pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/784 "2023-09-30T22:27:36Z")

</div>

Ronny thank you for the details, after all suggestions, I ended up with adding it first as sensor and then repairing. It was confusing for me when the 1st added entity can’t be edited but I found the way.

 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/0325f0116c65978646c0019e86644bc2ffa9497a.png)

Btw, is it possible that changing the icon do not work ?

```auto
[log] 2023-10-01 24:17:25 [Driver:sensor] setRemoteIcon: https://raw.githubusercontent.com/Templarian/MaterialDesign-SVG/master/svg/pine-tree.svg
[log] 2023-10-01 24:17:25 [Driver:sensor] Error changeing device icon filename. Error: path_old is not defined

```

> [@Peter\_Kawa](#):
>
> Ble USB dongle

@Peter_Kawa looks great, unfortunately running HA as Docker on Synology…it looks like that BLE dongle support require recompile of kernel on Synology…

> [@owuerker](#):
>
> through the ESP32 BLE Proxy,

Thanks, luckily I found location where all my Flora sensors are reachable but your setup looks really great ! 28 sensors, it must be a pain to replace all batteries in it 😉

---

<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:** [October 1, 2023, 4:21am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/785 "2023-10-01T04:21:53Z")

</div>

Adding the entity as device (sensor), the ‘main’ entity is not changeable, because it’s the base element for this device.  
Adding a custom device, you can add/remove every entity as you want.

Difference:

- sensor device: you get flow for the main entity you can directly use
- custom device: you can only use generic flows where you have to select the entity.

I’lk check the issue of icon change.  
You selected a custom.icon on adding, right? Only in this case it’s possible to change it afterwards. But else the button would be inactive…

---

<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:** [October 1, 2023, 5:07am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/786 "2023-10-01T05:07:12Z")

</div>

> [@RonnyW](#):
>
> the ‘main’ entity is not changeable, because it’s the base element for this device.

Make sense, I was expecting at least to see it “read only” but it’s true it’s in the device details… it’s just beginner thought 🤔

> [@RonnyW](#):
>
> You selected a custom.icon

Yep and it’s not possible to change it later via maintenance function.

---

<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:** [October 1, 2023, 10:15am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/787 "2023-10-01T10:15:08Z")

</div>

Hi,  
Some devices also have multiple sensors integrated. E.g. power, voltage and enery metering.  
When integrated directly into Homey, these are available.  
When integrated into Homey via HomeAssistant, they are no longer available.  
Below an example.

Ho do I get the energy value into the Homey entity?  
Do I need expert programming skills to realise this?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/d/adb987922776e21e6ce707595361b0ce184cc750.jpeg)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/a/da2e209c2a85be7705d4822dbd7cec74f99246e2.jpeg)

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

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