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

<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 5, 2023, 9:40pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/286 "2023-03-05T21:40:48Z")

</div>

To add a compound as producer device, set the device type to “solar panel”. This way, the measure\_power value is inverted.  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e20f4d9a7b27580a88702e2bded6fd19091920e.png)

Example:

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

---

<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 5, 2023, 9:45pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/287 "2023-03-05T21:45:07Z")

</div>

![Screen Shot 2023-03-05 at 22.42.26](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/248d74e98a4b0164e36df71781f3864502a8d986.png)

 ![Screenshot_20230305-224343](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fe99e791cb0cd914bf752b32c57c4fe4d122353a.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:** [March 5, 2023, 9:48pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/288 "2023-03-05T21:48:20Z")

</div>

A Homey device can have only one capability names measure\_power.  
So you have to create a device for each entity.  
To add more than one measure\_power to a compound you would need to use subcapabilities, but these values are not used for energy view. I already requested subcapabilities, but habe no answer from Athom yet.

---

<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 5, 2023, 10:02pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/289 "2023-03-05T22:02:16Z")

</div>

> [@Edwin\_Biemond](#):
>
> value is 0.58 which is kW

You have to provide a Homey compatible value (in Watt). Can you check if you can change it in the HA integration?  
If that’s not possible, you can set a conversion with factor x1000

Example:

> **[GitHub - RonnyWinkler/homeassistant.homey: Homey compound device component](https://github.com/RonnyWinkler/homeassistant.homey#use-a-slider-for-number-input-entities)**
>
> Homey compound device component. Contribute to RonnyWinkler/homeassistant.homey development by creating an account on GitHub.

Something like this:

```auto
  p1meter_production_compound:
    name: P1 smart meter production
    capabilities:
      measure_power: sensor.electricity_meter_power_production
    capabilitiesConverters:
      measure_power: 
        from: (state) => { return parseFloat(state) * 1000; }

```

---

<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 5, 2023, 10:09pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/290 "2023-03-05T22:09:34Z")

</div>

solved

 ![Screen Shot 2023-03-05 at 23.09.01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2d2ff3ae3e11ed95dcb4468df5a3e72e75b6d5c4.png)

---

<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 5, 2023, 10:11pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/291 "2023-03-05T22:11:55Z")

</div>

and a repair to fix the homey devices else still kW on device

---

<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 5, 2023, 10:13pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/292 "2023-03-05T22:13:47Z")

</div>

Oh yeah, the old HA unit used for the capability 🙂  
I also used the repair function a lot for my test to change my compounds on the fly 😅

---

<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 5, 2023, 10:15pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/293 "2023-03-05T22:15:16Z")

</div>

> [@RonnyW](#):
>
> ```auto
> capabilitiesConverters:
> measure_power: 
> from: (state) => { return parseFloat(state) * 1000; }
> 
> ```

will use this for production , now 2 solar devices are showing up.

---

<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 5, 2023, 10:19pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/294 "2023-03-05T22:19:06Z")

</div>

Perhaps you have to make some experiments to get a good summation.  
From Homey sight only solar panels are producing devices (with positive energy value):  
But perhaps a cumulative smart meter with negative value does the same 🙂

Some details about Homey internals:

> **[Energy](https://apps.developer.homey.app/the-basics/devices/energy#generating-devices)**
>
> By defining the energy usage (or generation) of the devices your app supports users can generate detailed reports of their energy consumption.

---

<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 5, 2023, 10:22pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/295 "2023-03-05T22:22:24Z")

</div>

yep, also weird a reboot on HA, reverted my W changes. was thinking it can survive reboots.

---

<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 5, 2023, 10:29pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/296 "2023-03-05T22:29:45Z")

</div>

yes negative works. but in the end it is used to make this energy tab complete. 😆 just nice to have.

---

<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 5, 2023, 10:32pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/297 "2023-03-05T22:32:23Z")

</div>

also the extra device info is very nice.

 ![Screen Shot 2023-03-05 at 23.31.37](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4f68f01489043f14a68c6428f40f8c4f72450192.jpeg)

---

<div class="post-metadata">

**Author:** ![Ronni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronni/32/34633_2.png) [@Ronni](https://community.homey.app/u/Ronni)\
**Post date:** [March 6, 2023, 7:43am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/298 "2023-03-06T07:43:27Z")

</div>

Hi there!

This plugin is simply great!

However, I’m struggling to integrate my LG Heating Pump with Homey - however, it seems to be a bit complicated, because it has more/other capabilities than a “normal” climate device, because it have the heating pump with temperature setpoint and operation mode (Off, Heat, Auto), and then it has the water heating, which also has setpoint and operation mode (Heat Pump, Off).  
Shall/can I split these things up in more Compound devices, or maybe a better way to solve it?

**Here’s a list of entitites from the HA Device:**  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/89a68b1d2fb740eb08bc236bbe07a87eb577f8ac.png)

**Here’s the controls and sensor overview:**

 ![Controls_Sensors](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6c753d0832ec304a843858479236b5f6ebebdae8.png)

**Here’s the water heaters controls in HA:**  
 ![Water-Heater](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6a94cde44863655ae153639b02e2865b27a06e7.png)

**And the heating pump controls:**  
 ![Varmepumpe](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed4f99fe2f2f17325640819d068a40af0a95e4a1.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:** [March 6, 2023, 8:34am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/299 "2023-03-06T08:34:16Z")

</div>

> [@Ronni](#):
>
> it has more/other capabilities than a “normal” climate device, because it have the heating pump with temperature setpoint and operation mode (Off, Heat, Auto), and then it has the water heating, which also has setpoint and operation mode (Heat Pump, Off).

Ok, you found a device that has a domain `water_heater` that is not supported yet by this app 😉

> **[Water heater](https://www.home-assistant.io/integrations/water_heater/)**
>
> Instructions on how to setup water heater devices within Home Assistant.

As the HA device covers two main domains climate and water\_heater with specialized attributes and services, the should be added as single device.

**As first step, add the climate part as climate device**. You can add the HA device sensors via Homey device settings.  
You won’t be able to add the water\_heater as functional device at this moment. I’ll look into it to integrate.  
I’ll contact you via PM about entity details. I need some technical details about entity attributes, so I will need some screenshots 🙂

---

<div class="post-metadata">

**Author:** ![Ronni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronni/32/34633_2.png) [@Ronni](https://community.homey.app/u/Ronni)\
**Post date:** [March 6, 2023, 8:52am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/300 "2023-03-06T08:52:59Z")

</div>

Thank you very much! 🙂  
I’ve already added the heating pump as a climate:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/14d74ce213e4d6beccf62137702a9782b82e92e6.png)

I don’t have the heating pumps inlet temperature here, but I can get this on an additional compound device!

---

<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 6, 2023, 9:03am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/301 "2023-03-06T09:03:35Z")

</div>

So you only need the current temperature as sensor? Then you can use the compound or simple sensor device. But you won’t be able to control a target. Do you need such a control in Homey (means: is it needed to add water\_heater)?

---

<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 6, 2023, 9:05am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/302 "2023-03-06T09:05:57Z")

</div>

If you only need the sensor entities (current water temp) you can add them to your climate device via device settings. This is new in current test version.

> [@\[APP\]\[Pro\] Home Assistant - Community App](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/278):
>
> New test version 1.2.0: Adding HA device entities to a Homey device: The new version offers a possibility to integrate all sensors/buttons/switches from a HA device into the Homey device. The Homey device is still domain based. So you will still add a device based on its main entity (e.g. vacuum, light, switch or sensor) because the device properties and actions are based on these domains and their attributes/services used in HA. But once you have added an entity to Homey (let’s say a Hu…

---

<div class="post-metadata">

**Author:** ![Ronni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronni/32/34633_2.png) [@Ronni](https://community.homey.app/u/Ronni)\
**Post date:** [March 6, 2023, 9:30am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/303 "2023-03-06T09:30:58Z")

</div>

Right now I have it like this:  
**Climate device:**  
As on the last screenshot, I have the current temperature of the outlet, and target temp. which I can adjust, and operation mode as well, which I can also adjust. Only missing the inlet temp., which some how belongs to the climate device.

**Comp0und device:**  
From this created device I can switch the silent mode on/off, and monitor the DHW water temperature and the inlet temp. as well:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/b/4b7aa411d0dcdec406da318991d09854c629f5ab.png)

I now only need the ability to change the DHW water temp., and turn the water heating on/off (which are important for me, so I can make hot water when the el prices are lowest). If you succeds in making a water heating device, will include the abilities to have target temp, setpoint and on/off functions?

---

<div class="post-metadata">

**Author:** ![Ronni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronni/32/34633_2.png) [@Ronni](https://community.homey.app/u/Ronni)\
**Post date:** [March 6, 2023, 9:47am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/304 "2023-03-06T09:47:58Z")

</div>

Now that’s cool!  
Now I have nearly all things in one device, except the ability to turn the water heating on/off, which for me are the most important feature! 😆

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a50e64ba59138f06d7232dc261148821873358d1.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:** [March 6, 2023, 10:04am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/305 "2023-03-06T10:04:03Z")

</div>

> [@Ronni](#):
>
> If you succeds in making a water heating device, will include the abilities to have target temp, setpoint and on/off functions?

You can see the possible function in the linkes HA page.  
You could control:  
`water_heater.set_temperature`, `water_heater.turn_away_mode_on`, `water_heater.turn_away_mode_off`, `water_heater.set_operation_mode`

If the water heater would have a simple switch instead a mode, it could be already added to Homey.

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

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