Adjusted on/off condition check for compound device (onoff capability) and device entities (manually added entities for onoff capabilities).
I hope I found all existing state checks now
Background:
Until now the on/off check was done like: IF âonâ THEN switch on ELSE switch off.
So all other states than âonâ would switch the device off.
Now itâs checkd exact for âonâ or âoffâ.
@JOR1: You can install the latest test version (sure via auto update, right?) and check the behaviour the next day. If there are issues please report here.
I will keep it a test version as Iâm on a journey next two days.
When I get no error reports it will be released as live version at saturday.
And many thanks for reporting the issue and your tests
Have a nice trip⌠Version 1.3.6 is allready in place through auto update. I will do more testing on some devices where I can manually add on/off entities. Iâm pretty sure it will work as desired.
Hi.
This seem to work very well!
Did you also implement this for Lights? Tested with an IKEA lightbulb connected to bridge/hub. In Homey, the light still show turned on / off by HA.
While I read about this matter, my tuya PIR driven flows are triggered when HA gets offline or restarts, or when the HA tuya integration restarts.
I think it is a similar issue.
Can you adjust it for motion sensors as well, Ronny? Thanks!
@Edwin_Biemond
Just some additionsâŚ
If you donât want to have all sensors and buttons in your Homey device, you can add and delete these entities in device maintenance/repair view. So you can only add some needed sensors.
To start your flow there is a integrated way:
add a helper button to HA
add this entity to your device in repair view
So you get a âvirtual buttonâ inside the Homey device you can create a flow trigger for.
Can you please check if your media player supports entity_picture_local in addition?
The device check entity_picture_local first and is not found entity_picture.
If yes, what value is set in this attribute?
If not, can you please check the URL in browser using your HA address (used in app settings) as prefix like âhttp:// 192.168.1.xxx:8123/api/media_player_proxyâŚâ if your HA server is set as âhttp:// 192.168.1.xxx:8123â in app settings.
If the URL is valid I canât see any reason why the picture is not shown.
You send me some screenshots from entity attributes via PM from HA developer tools.
When the player is idle, itâs not providing the entity_picture entity attribute. It only shows up when something is actually playing. Can that be the problem?
Hereâs a screenshot of the dev tools while playing a song:
I am using Philips motion sensors in HA.
The capability alarm_motion of main entity is fine, but the capability of the second entity (temperature) cannot be added in another device (eg to a group>) or recognized by another device (eg. Vthermo).
It looks like the capability value from second entity is too long:
measure_temperature.sensor.13_terrace_motion_temperature
I am not sure if the discussion above addresses this, but I see no way to edit the capability. Tips welcome.