Closed almooj closed 1 year ago
This appears that it is behaving as intended. Can you also try restoring to the old version and seeing if this problem still exists? I'm not seeing anything particularly broken from the logs.
Thx for the answer but it was working fine before , it seems that when i press home control button again it did not trap this input but it use to be...dont know if some delays have been put somewhere or if some state of turn on device is preventing to handle one more press for some reason
Maybe you could have some hint about that
Ive already try to restore but it seem than the backup wasn't a full one
Thx
Regards
Le 7 févr. 2023 12:01, Alex Yao @.***> a écrit :
This appears that it is behaving as intended. Can you also try restoring to the old version and seeing if this problem still exists? I'm not seeing anything particularly broken from the logs.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/hass-emulated-hue/core/issues/397#issuecomment-1421109949", "url": "https://github.com/hass-emulated-hue/core/issues/397#issuecomment-1421109949", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
also try restoring to the old version and seeing if this problem still exists? I'm not seeing anything particularly broken from the logs.
@alexyao2015 so i was able to return to a full backup and it worked again as it was (short press turn on and off the switch) but i was able to compare the /config/hass-emulated-hue/emulated_hue.json and the main differences are in the throttle value
"6": { "colormode": "xy", "config": { "archetype": "sultanbulb", "direction": "omnidirectional", "function": "mixed", "startup": { "configured": true, "mode": "safety" } }, "enabled": true, "entity_id": "light.prise2", "name": "", "state": { "mode": "homeautomation", "on": true, "reachable": true }, "throttle": 0, "uniqueid": "00:91:d6:a0:5f:de:60:b1-8f" },
and in the new version
"3": { "config": { "archetype": "sultanbulb", "direction": "omnidirectional", "function": "mixed", "startup": { "configured": true, "mode": "safety" } }, "enabled": true, "entity_id": "light.prise2l", "name": "", "state": { "brightness": null, "color_mode": null, "color_temp": null, "effect": null, "flash_state": null, "hue_saturation": null, "power_state": false, "reachable": true, "rgb_color": null, "transition_seconds": 0.4, "xy_color": null }, "throttle": 150, "uniqueid": "00:30:84:31:00:bf:00:4b-df" },
so now im gonna try to roll back to this week backup and change this to 0 value to see if there is any improvements
l'll keep U in touch
Regards
This issue has been marked as stale due to no activity and will be closed in 7 days.
unfortunately this bug has not yet been fixed since the behaviour is different from the previous version has confirmed when rolled back and differences in logs files between version 0.3.0 and previous version
please consider to give it a look (if you can)
Thx regards
So the issue is with the throttle value? The throttle setting affects how quickly operations can be made which are relayed to home assistant. If you set it to 0, it will not not throttle operations.
hi , unfortunately i don't know exactly . i thing throttle is one cause of ther reason but not only , cause as you can see the json structure from the previous version
"state": { "mode": "homeautomation", "on": true, "reachable": true }, "throttle": 0, "uniqueid": "00:91:d6:a0:5f:de:60:b1-8f" },
vs in the 0.3.0
"state": { "brightness": null, "color_mode": null, "color_temp": null, "effect": null, "flash_state": null, "hue_saturation": null, "power_state": false, "reachable": true, "rgb_color": null, "transition_seconds": 0.4, "xy_color": null }, "throttle": 150, "uniqueid": "00:30:84:31:00:bf:00:4b-df" },
once again thx for your work and sorry to not being able to help you more
Description
im using a custom light template to control switches from logitech harmony remote (not the app but binded devices to remote control) with this in my configuration in home assistant
Expected behavior
being able to use only one short pressed home control dedicated button on my harmony remote controller to turn on and off device (calling switch toggle service as configured to turn on ) as it used to be in previous emulated hue core version
here is an exemple of how it is configured once hue bridge has been bind in the android app
As you can see there is no abilities to customize the turn off action and it is set to long press by design so we can not press it to turn on and off the selected device but if the turn on action is configure to call the switch.toggle service in HA configuration , it was working perfectly prior to the last update
Reproduction steps
Relevant log output
Operating system
HassOS
Install method
HassOS Addon
Version
0.3.0
Dev Version
No response
Any other information that may be helpful
No response