[APP][Pro] Home Assistant - Community App

New test version 1.3.0

Changes:

  • Fix for switch device state not updating if a second entity is added.

  • Fix for generic flow conditions “Numeric value greater” and “Textvalue equal”.
    These condition cars are checking the capabilities measure_numeric or measure_generic. In these capabilities are not found, the first numeric or text cability is used. This way these cards can also be used for sensor devices with other capabilities like temperature or luminance.

  • Now the most importand addon:
    Added possibility to individually add, change and remove entities.

  • And in addition there is a new device type to create a device from scratch and add your entities. You can see it as an easy “build your own device” alternative to compound devices.
    No need to add the HA integration, no HA restarts. Just add the device and add your entities.
    grafik


Some details about the entity functionality:

Add entity:
Go to device maintenance/repair dialog to start…
grafik


Now you can select an entity start writing some text to filter the list.
grafik
Select the entry you want to add to your device. Some fields are preassigned with entity dependent content like name and unit. You can adjust name and unit to your needs.
In addition the capability is also shown that will be used to add th entity. It’s discovered by the entities device class or unit.
grafik
You can change the capability using the dropdown list. You can also change the subcapability name.
If you want to add the capability as main capability (without subcapability like “onoff” to get quick actions), you can easily check the checkbox or delete the subcapability name in the capability field.
If you need to convert the HA entity value you can add a JavaScript function. The “i” button gives some hints how to use it.
grafik
The Button “Add Entity” adds instantly your entity as new capability.

Change entities:
All this way added entities can be changed afterwards. Adjust name, unit or converter function.
Select one entity that was added to your device.
grafik
Then change the details.

Remove entities:
You can remove the entities just as easily:
grafik


Some technical details:

  • This functionality is based on the previously added functionality of adding device sensors in device settings. Entities added this way can be changed or removed in the same way.
  • Main entities added on device pairing (like light or thermostat capabilities) can’t be adjusted.
  • Only entities of type sensor, binary sensor, button or switch can be added. These entities can be used in a generic way. In contrast, special entities that need a special capability handling or special HA services to interact with HA, will still only be useable using the corresponding Homey device.
  • But using this new feature, you can easily add some single sensors to your existing device.

Now have fun building your devices in Homey :magic_wand:

Please report issues providing some details like changed device type, added entity type (domain, perhaps screenshot of entity details from HA developer tools).

9 Likes