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 Hue motion sensor), you can add all other entities, to. So you will have a motion sensor that shows the temperature, lux, too.
Example of a Hue motion sensor:
-
The sensor device:
-
Now go to device settings and activate the first checkbox:
-
Other sensor entities from the HA device, the motion sensor belongs to, are added:
-
In addition, you can add diagnostic sensors, buttons and switched (dependent on the HA device):
-
You can easily remove these sensors by unchecking the settings checkboxes.
-
Set a power sensor as cumulative sensor
For sensor and compound device you can set the device as cumulative power measurement device.
This will only work for devices, where the capability measure_power is added. That’s the case when a power entity is added as sensor decvice. It’s not working if the sensor is added as additional sensor from HA devices because it’s added as subcapability measure_power.xxx and such capabilities are not used by Homey for Energy summation.
When using a compound, please use measure_power as capability name.