Closed danielbrunt57 closed 1 year ago
Hey there @dermotduffy, mind taking a look at this issue as it has been labeled with an integration (hyperion
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
hyperion documentation hyperion source (message by IssueLinks)
I see the same issue
Same here! Unable turn on or off the instance. It worked before.
Looks like this is an intended breaking change in 2023.07: https://github.com/home-assistant/core/pull/80478 https://www.home-assistant.io/blog/2023/07/05/release-20237/#breaking-changes
Looks like this is an intended breaking change in 2023.07:
https://github.com/home-assistant/core/pull/80478
https://www.home-assistant.io/blog/2023/07/05/release-20237/#breaking-changes
My bad. I totally missed this.
You are absolutely right! After following the documentation it worked. I can now control (turn on/off) the lights as before.
In Hyperion integration I had to enable the entity "switch.[instance]_component_all" first. Then I was able to use this switch to control the LEDs power.
Thank you!!
Component Forwarder and Component LED Device are shown as switches but they are unable to control my Hyperion components. They do though reflect the state of the component in Hyperion and as such they should be listed as Sensors, not switches! The only way I can get my First LED Hardware instance in Hyperion to turn off is by using Component All. As it stands now, it's kind of fubar...
Current state: Toggle LED Device: No change in Hyperion: switch entity in integration flips back to off:
The breaking change states: but the actions and names in the integration does not jibe. _led_device does NOT switch off the light. I have switch.first_led_hardware_instance_component_led_device which does not control anything and instead behaves like a sensor - which was the reason for opening this thread! It is not the global switch...switch.first_led_hardware_instance_component_all is the global switch, and yes, it can be used to turn the led_device off but it also turns everything else off!
Component Forwarder and Component LED Device are shown as switches but they are unable to control my Hyperion components. They do though reflect the state of the component in Hyperion and as such they should be listed as Sensors, not switches!
They definitely should be switches, and (for me) they do switch -- this is not a mis-categorized entity.
Having seen this movie many (many) times, it is usually an underlying issue with Hyperion not sending back the correct callback for some reason (either something wrong with your setup, or a bug in the Hyperion API).
To test this, you can enable debug logging:
logger:
logs:
hyperion: debug
custom_components.hyperion: debug
... then flip a switch and check the logs. As in the below example:
https://github.com/home-assistant/core/issues/96127#issuecomment-1627459134
... my bet is that you will see the integration send the command to change the state in one log line, you'll see Hyperion acknowledge receipt of the request in the next log line -- but you will not see Hyperion send the final (3rd log line) confirmation that the change has actually been made. Until the integration receives this, it cannot know the state has changed -- and this is why you see it appear to "reset" in Home Assistant.
If you do see this, please file a bug against Hyperion itself with the logging details.
On the other hand, if you see all 3 log lines and the switch still misbehaves, that would likely be an integration bug.
I am only seeing 2 log lines, not three...
2023-08-04 19:23:41.599 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.102:19444): b'{"command": "ledcolors", "subcommand": "imagestream-stop"}\n'
2023-08-04 19:23:41.604 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.102:19444): b'{"command":"ledcolors-imagestream-stop","instance":0,"success":true,"tan":0}\n'
2023-08-04 19:23:45.250 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.102:19444): b'{"command": "componentstate", "componentstate": {"component": "LEDDEVICE", "state": true}}\n'
2023-08-04 19:23:45.252 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.102:19444): b'{"command":"componentstate","instance":0,"success":true,"tan":0}\n'
@danielbrunt57 Then you have your answer ;-) When Hyperion does not call back with the updated state, there is nothing the integration can do. Recommend filing a bug against Hyperion itself, and see if you/they can figure out why the expected subscription call (which would show up as the 3rd log line) is not being made back to Home Assistant as it should be in order for the HA state to be changed.
They will also need to see a log line like this, which you'd see when the integration is first started, this is subscribing to updates from Hyperion when changes happen (and these are the updates that your Hyperion instance is not sending):
2023-07-09 14:07:41.912 DEBUG (MainThread) [hyperion.client] Send to server (hyperion:19444): b'{"command": "serverinfo", "subscribe": ["adjustment-update", "components-update", "effects-update", "leds-update", "imageToLedMapping-update", "instance-update", "priorities-update", "sessions-update", "videomode-update"], "tan": 3}\n'
My Hyperion bug report: https://github.com/hyperion-project/hyperion.ng/issues/1629
So, your Hyperion integration works fine?
I see...
2023-08-04 19:18:10.665 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.102:19444): b'{"command": "serverinfo", "subscribe": ["adjustment-update", "components-update", "effects-update", "leds-update", "imageToLedMapping-update", "instance-update", "priorities-update", "sessions-update", "videomode-update"], "tan": 3}\n'
2023-08-04 19:18:10.764 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.102:19444): b'{"command":"serverinfo","info":{"activeEffects":[],"activeLedColor":[{"HSL Value":[65535,0,1],"RGB Value":[255,255,255]}],"adjustment":[{"backlightColored":false,"backlightThreshold":0,"blue":[0,0,255],"brightness":100,"brightnessCompensation":100,"brightnessGain":1,"cyan":[0,255,255],"gammaBlue":1.5,"gammaGreen":1.5,"gammaRed":1.5,"green":[0,255,0],"id":"default","magenta":[255,0,255],"red":[255,0,0],"saturationGain":1,"white":[255,255,255],"yellow":[255,255,0]}],"cec":{"enabled":true},"components":[{"enabled":true,"name":"ALL"},{"enabled":false,"name":"SMOOTHING"},{"enabled":true,"name":"BLACKBORDER"},{"enabled":false,"name":"FORWARDER"},{"enabled":false,"name":"BOBLIGHTSERVER"},{"enabled":true,"name":"GRABBER"},{"enabled":true,"name":"V4L"},{"enabled":false,"name":"AUDIO"},{"enabled":false,"name":"LEDDEVICE"}],"effects":[{"args":{"center_x":0.5,"center_y":0.5,"custom-colors":[[0,0,0],[0,0,0],[255,255,0],[0,0,0],[0,0,0],[255,255,0],[0,0,0],[0,0,0],[255,255,0]],"custom-colors2":[],"enable-second":false,"random-center":false,"reverse":false,"rotation-time":25,"smoothing-custom-settings":null},"file":":/effects/atomic.json","name":"Atomic swirl","script":":/effects/swirl.py"},{"args":{"blobs":5,"color":[0,0,255],"hueChange":60,"reverse":false,"rotationTime":60,"smoothing-custom-settings":null},"file":":/effects/mood-blobs-blue.json","name":"Blue mood blobs","script":":/effects/mood-blobs.py"},{"args":{"color-end":[255,255,255],"color-end-time":250,"color-start":[50,50,50],"color-start-time":50,"fade-in-time":3000,"fade-out-time":1000,"maintain-end-color":true,"repeat-count":0,"smoothing-custom-settings":null},"file":":/effects/breath.json","name":"Breath","script":":/effects/fade.py"},{"args":{"brightness":100,"candles":"all","color":[255,138,0],"sleepTime":0.2,"smoothing-custom-settings":true,"smoothing-time_ms":500,"smoothing-updateFrequency":20},"file":":/effects/candle.json","name":"Candle","script":":/effects/candle.py"},{"args":{"color-end":[238,173,47],"color-end-time":0,"color-start":[136,97,7],"color-start-time":0,"fade-in-time":5000,"fade-out-time":0,"maintain-end-color":true,"repeat-count":1,"smoothing-custom-settings":null},"file":":/effects/cinema-fade-in.json","name":"Cinema brighten lights","script":":/effects/fade.py"},{"args":{"color-end":[238,173,47],"color-end-time":0,"color-start":[136,97,7],"color-start-time":0,"fade-in-time":0,"fade-out-time":5000,"maintain-end-color":true,"repeat-count":1,"smoothing-custom-settings":null},"file":":/effects/cinema-fade-off.json","name":"Cinema dim lights","script":":/effects/fade.py"},{"args":{"baseChange":true,"baseColorChangeRate":2,"baseColorRangeLeft":160,"baseColorRangeRight":320,"blobs":5,"color":[0,0,255],"hueChange":30,"reverse":false,"rotationTime":60,"smoothing-custom-settings":null},"file":":/effects/mood-blobs-cold.json","name":"Cold mood blobs","script":":/effects/mood-blobs.py"},{"args":{"explodeRadius":8,"smoothing-custom-settings":null,"speed":100,"trailLength":5},"file":":/effects/collision.json","name":"Collision","script":":/effects/collision.py"},{"args":{"smoothing-custom-settings":null,"speed":1},"file":":/effects/traces.json","name":"Color traces","script":":/effects/traces.py"},{"args":{"center_x":0.5,"center_x2":0.5,"center_y":0.5,"center_y2":0.5,"custom-colors":[[255,0,0],[20,0,255]],"custom-colors2":[[255,0,0,0],[255,0,0,0],[255,0,0,0],[0,0,0,1],[0,0,0,0],[255,0,0,0],[255,0,0,0],[0,0,0,1]],"enable-second":true,"random-center":false,"random-center2":false,"reverse":false,"reverse2":true,"rotation-time":25,"smoothing-custom-settings":null},"file":":/effects/double-swirl.json","name":"Double swirl","script":":/effects/swirl.py"},{"args":{"cropBottom":0,"cropLeft":0,"cropRight":0,"cropTop":0,"file":":fire.gif","fps":25,"grayscale":false,"imageSource":"file","reverse":false,"smoothing-custom-settings":null},"file":":/effects/fire.json","name":"Fire","script":":/effects/gif.py"},{"args":{"countries":["de","se"],"smoothing-custom-settings":null,"switch-time":2},"file":":/effects/flag.json","name":"Flags Germany/Sweden","script":":/effects/flag.py"},{"args":{"baseChange":true,"baseColorChangeRate":0.2,"baseColorRangeLeft":0,"baseColorRangeRight":360,"blobs":5,"colorRandom":true,"hueChange":30,"reverse":false,"rotationTime":60,"smoothing-custom-settings":null},"file":":/effects/mood-blobs-full.json","name":"Full color mood blobs","script":":/effects/mood-blobs.py"},{"args":{"blobs":5,"color":[0,255,0],"hueChange":60,"reverse":false,"rotationTime":60,"smoothing-custom-settings":null},"file":":/effects/mood-blobs-green.json","name":"Green mood blobs","script":":/effects/mood-blobs.py"},{"args":{"color":[255,0,0],"fadeFactor":0.7,"smoothing-custom-settings":null,"speed":1},"file":":/effects/knight-rider.json","name":"Knight rider","script":":/effects/knight-rider.py"},{"args":{"sleepTime":0.5,"smoothing-custom-settings":false,"smoothing-time_ms":500,"smoothing-updateFrequency":20,"testleds":"all"},"file":":/effects/ledtest.json","name":"Led Test","script":":/effects/ledtest.py"},{"args":{"background-color":[0,0,0],"hour-color":[0,0,255],"marker-color":[255,255,255],"marker-depth":0,"marker-enabled":false,"marker-width":5,"minute-color":[0,255,0],"second-color":[255,0,0],"show_seconds":true,"smoothing-custom-settings":null},"file":":/effects/light-clock.json","name":"Light clock","script":":/effects/light-clock.py"},{"args":{"cropBottom":0,"cropLeft":0,"cropRight":0,"cropTop":0,"file":":lights.gif","fps":25,"grayscale":false,"imageSource":"file","reverse":false,"smoothing-custom-settings":null},"file":":/effects/lights.json","name":"Lights","script":":/effects/gif.py"},{"args":{"cropBottom":0,"cropLeft":0,"cropRight":0,"cropTop":0,"fps":30,"grayscale":false,"imageSource":"url","reverse":false,"smoothing-custom-settings":null,"url":"https://i.gifer.com/embedded/download/1j6F.gif"},"file":":/effects/matrix.json","name":"Matrix","script":":/effects/gif.py"},{"args":{"color-end":[0,0,255],"color-end-time":150,"color-start":[0,0,50],"color-start-time":40,"fade-in-time":200,"fade-out-time":100,"maintain-end-color":false,"repeat-count":3,"smoothing-custom-settings":null},"file":":/effects/notify-blue.json","name":"Notify blue","script":":/effects/fade.py"},{"args":{"margin-pos":2,"rotationTime":4,"smoothing-custom-settings":null},"file":":/effects/pacman.json","name":"Pac-Man","script":":/effects/pacman.py"},{"args":{"sleepTime":0.2,"smoothing-custom-settings":null},"file":":/effects/plasma.json","name":"Plasma","script":":/effects/plasma.py"},{"args":{"color_one":[255,0,0],"color_two":[0,0,255],"colors_count":10,"reverse":false,"rotation-time":1.5,"smoothing-custom-settings":null},"file":":/effects/police-lights-single.json","name":"Police Lights Single","script":":/effects/police.py"},{"args":{"color_one":[255,0,0],"color_two":[0,0,255],"reverse":false,"rotation-time":1,"smoothing-custom-settings":null},"file":":/effects/police-lights-solid.json","name":"Police Lights Solid","script":":/effects/police.py"},{"args":{"brightness":100,"reverse":false,"rotation-time":60,"smoothing-custom-settings":null},"file":":/effects/rainbow-mood.json","name":"Rainbow mood","script":":/effects/rainbow-mood.py"},{"args":{"center_x":0.5,"center_y":0.5,"custom-colors":[],"custom-colors2":[],"enable-second":false,"random-center":false,"reverse":false,"rotation-time":20,"smoothing-custom-settings":true,"smoothing-time_ms":200,"smoothing-updateFrequency":25},"file":":/effects/rainbow-swirl.json","name":"Rainbow swirl","script":":/effects/swirl.py"},{"args":{"center_x":0.5,"center_y":0.5,"custom-colors":[],"custom-colors2":[],"enable-second":false,"random-center":false,"reverse":false,"rotation-time":7,"smoothing-custom-settings":null},"file":":/effects/rainbow-swirl-fast.json","name":"Rainbow swirl fast","script":":/effects/swirl.py"},{"args":{"saturation":1,"smoothing-custom-settings":true,"smoothing-time_ms":200,"smoothing-updateFrequency":20,"speed":750},"file":":/effects/random.json","name":"Random","script":":/effects/random.py"},{"args":{"blobs":5,"color":[255,0,0],"hueChange":60,"reverse":false,"rotationTime":60,"smoothing-custom-settings":null},"file":":/effects/mood-blobs-red.json","name":"Red mood blobs","script":":/effects/mood-blobs.py"},{"args":{"center_x":1.25,"center_y":-0.25,"colors":[[8,0,255],[0,161,255],[0,222,255],[0,153,255],[38,0,255],[0,199,255]],"random-center":false,"reverse":false,"reverse_time":0,"rotation_time":60,"smoothing-custom-settings":true,"smoothing-time_ms":200,"smoothing-updateFrequency":25},"file":":/effects/Seawaves.json","name":"Sea waves","script":":/effects/waves.py"},{"args":{"background-color":[0,0,0],"color":[255,0,0],"percentage":10,"rotation-time":12,"smoothing-custom-settings":null},"file":":/effects/snake.json","name":"Snake","script":":/effects/snake.py"},{"args":{"brightness":100,"color":[255,255,255],"random-color":false,"rotation-time":3,"saturation":100,"sleep-time":0.05,"smoothing-custom-settings":null},"file":":/effects/sparks.json","name":"Sparks","script":":/effects/sparks.py"},{"args":{"color-end":[0,0,0],"color-end-time":100,"color-start":[255,0,0],"color-start-time":100,"fade-in-time":100,"fade-out-time":100,"maintain-end-color":true,"repeat-count":0,"smoothing-custom-settings":null},"file":":/effects/strobe-red.json","name":"Strobe red","script":":/effects/fade.py"},{"args":{"color-end":[0,0,0],"color-end-time":10,"color-start":[255,255,255],"color-start-time":50,"fade-in-time":0,"fade-out-time":100,"maintain-end-color":true,"repeat-count":0,"smoothing-custom-settings":null},"file":":/effects/strobe-white.json","name":"Strobe white","script":":/effects/fade.py"},{"args":{"alarm-color":[255,0,0],"initial-blink":true,"post-color":[255,174,11],"set-post-color":true,"shutdown-enabled":false,"smoothing-custom-settings":null,"speed":1.2},"file":":/effects/shutdown.json","name":"System Shutdown","script":":/effects/shutdown.py"},{"args":{"color":[255,255,255],"height":8,"max_len":7,"min_len":2,"random":false,"smoothing-custom-settings":null,"speed":30,"trails":3},"file":":/effects/trails.json","name":"Trails","script":":/effects/trails.py"},{"args":{"color":[255,255,255],"height":8,"max_len":6,"min_len":2,"random":true,"smoothing-custom-settings":null,"speed":50,"trails":16},"file":":/effects/trails_color.json","name":"Trails color","script":":/effects/trails.py"},{"args":{"baseChange":true,"baseColorChangeRate":2,"baseColorRangeLeft":333,"baseColorRangeRight":151,"blobs":5,"color":[255,0,0],"hueChange":30,"reverse":false,"rotationTime":60,"smoothing-custom-settings":true,"smoothing-time_ms":200,"smoothing-updateFrequency":25},"file":":/effects/mood-blobs-warm.json","name":"Warm mood blobs","script":":/effects/mood-blobs.py"},{"args":{"reverse":false,"smoothing-custom-settings":null},"file":":/effects/waves.json","name":"Waves with Color","script":":/effects/waves.py"},{"args":{"color1":[255,255,255],"color2":[255,0,0],"length":1,"sleepTime":750,"smoothing-custom-settings":null},"file":":/effects/x-mas.json","name":"X-Mas","script":":/effects/x-mas.py"}],"grabbers":{"audio":{"active":[],"available":["audio"]},"screen":{"active":["Qt"],"available":["framebuffer","x11","xcb","qt"]},"video":{"active":["V4L2"],"available":["v4l2"]}},"hostname":"hyperion","imageToLedMappingType":"multicolor_mean","instance":[{"friendly_name":"First LED Hardware instance","instance":0,"running":true}],"ledDevices":{"available":["adalight","apa102","apa104","atmo","atmoorb","cololight","dmx","fadecandy","file","hyperionusbasp","karate","lightpack","lpd6803","lpd8806","nanoleaf","p9813","paintpack","philipshue","piblaster","rawhid","razer","sedu","sk6812spi","sk6822spi","sk9822","tinkerforge","tpm2","tpm2net","udpartnet","udpddp","udpe131","udph801","udpraw","wled","ws2801","ws2812spi","yeelight"]},"leds":[{"hmax":0.5235,"hmin":0.49,"vmax":1,"vmin":0.99},{"hmax":0.537,"hmin":0.5035,"vmax":1,"vmin":0.99},{"hmax":0.5505,"hmin":0.517,"vmax":1,"vmin":0.99},{"hmax":0.5641,"hmin":0.5305,"vmax":1,"vmin":0.99},{"hmax":0.5776,"hmin":0.5441,"vmax":1,"vmin":0.99},{"hmax":0.5911,"hmin":0.5576,"vmax":1,"vmin":0.99},{"hmax":0.6046,"hmin":0.5711,"vmax":1,"vmin":0.99},{"hmax":0.6181,"hmin":0.5846,"vmax":1,"vmin":0.99},{"hmax":0.6316,"hmin":0.5981,"vmax":1,"vmin":0.99},{"hmax":0.6451,"hmin":0.6116,"vmax":1,"vmin":0.99},{"hmax":0.6586,"hmin":0.6251,"vmax":1,"vmin":0.99},{"hmax":0.6722,"hmin":0.6386,"vmax":1,"vmin":0.99},{"hmax":0.6857,"hmin":0.6522,"vmax":1,"vmin":0.99},{"hmax":0.6992,"hmin":0.6657,"vmax":1,"vmin":0.99},{"hmax":0.7127,"hmin":0.6792,"vmax":1,"vmin":0.99},{"hmax":0.7262,"hmin":0.6927,"vmax":1,"vmin":0.99},{"hmax":0.7397,"hmin":0.7062,"vmax":1,"vmin":0.99},{"hmax":0.7532,"hmin":0.7197,"vmax":1,"vmin":0.99},{"hmax":0.7668,"hmin":0.7332,"vmax":1,"vmin":0.99},{"hmax":0.7803,"hmin":0.7468,"vmax":1,"vmin":0.99},{"hmax":0.7938,"hmin":0.7603,"vmax":1,"vmin":0.99},{"hmax":0.8073,"hmin":0.7738,"vmax":1,"vmin":0.99},{"hmax":0.8208,"hmin":0.7873,"vmax":1,"vmin":0.99},{"hmax":0.8343,"hmin":0.8008,"vmax":1,"vmin":0.99},{"hmax":0.8478,"hmin":0.8143,"vmax":1,"vmin":0.99},{"hmax":0.8614,"hmin":0.8278,"vmax":1,"vmin":0.99},{"hmax":0.8749,"hmin":0.8414,"vmax":1,"vmin":0.99},{"hmax":0.8884,"hmin":0.8549,"vmax":1,"vmin":0.99},{"hmax":0.9019,"hmin":0.8684,"vmax":1,"vmin":0.99},{"hmax":0.9154,"hmin":0.8819,"vmax":1,"vmin":0.99},{"hmax":0.9289,"hmin":0.8954,"vmax":1,"vmin":0.99},{"hmax":0.9424,"hmin":0.9089,"vmax":1,"vmin":0.99},{"hmax":0.9559,"hmin":0.9224,"vmax":1,"vmin":0.99},{"hmax":0.9695,"hmin":0.9359,"vmax":1,"vmin":0.99},{"hmax":0.983,"hmin":0.9495,"vmax":1,"vmin":0.99},{"hmax":0.9965,"hmin":0.963,"vmax":1,"vmin":0.99},{"hmax":1,"hmin":0.9765,"vmax":1,"vmin":0.99},{"hmax":1,"hmin":0.99,"vmax":1,"vmin":0.9683},{"hmax":1,"hmin":0.99,"vmax":0.9883,"vmin":0.9465},{"hmax":1,"hmin":0.99,"vmax":0.9665,"vmin":0.9248},{"hmax":1,"hmin":0.99,"vmax":0.9448,"vmin":0.903},{"hmax":1,"hmin":0.99,"vmax":0.923,"vmin":0.8813},{"hmax":1,"hmin":0.99,"vmax":0.9013,"vmin":0.8596},{"hmax":1,"hmin":0.99,"vmax":0.8796,"vmin":0.8378},{"hmax":1,"hmin":0.99,"vmax":0.8578,"vmin":0.8161},{"hmax":1,"hmin":0.99,"vmax":0.8361,"vmin":0.7943},{"hmax":1,"hmin":0.99,"vmax":0.8143,"vmin":0.7726},{"hmax":1,"hmin":0.99,"vmax":0.7926,"vmin":0.7509},{"hmax":1,"hmin":0.99,"vmax":0.7709,"vmin":0.7291},{"hmax":1,"hmin":0.99,"vmax":0.7491,"vmin":0.7074},{"hmax":1,"hmin":0.99,"vmax":0.7274,"vmin":0.6857},{"hmax":1,"hmin":0.99,"vmax":0.7057,"vmin":0.6639},{"hmax":1,"hmin":0.99,"vmax":0.6839,"vmin":0.6422},{"hmax":1,"hmin":0.99,"vmax":0.6622,"vmin":0.6204},{"hmax":1,"hmin":0.99,"vmax":0.6404,"vmin":0.5987},{"hmax":1,"hmin":0.99,"vmax":0.6187,"vmin":0.577},{"hmax":1,"hmin":0.99,"vmax":0.597,"vmin":0.5552},{"hmax":1,"hmin":0.99,"vmax":0.5752,"vmin":0.5335},{"hmax":1,"hmin":0.99,"vmax":0.5535,"vmin":0.5117},{"hmax":1,"hmin":0.99,"vmax":0.5317,"vmin":0.49},{"hmax":1,"hmin":0.99,"vmax":0.51,"vmin":0.4683},{"hmax":1,"hmin":0.99,"vmax":0.4883,"vmin":0.4465},{"hmax":1,"hmin":0.99,"vmax":0.4665,"vmin":0.4248},{"hmax":1,"hmin":0.99,"vmax":0.4448,"vmin":0.403},{"hmax":1,"hmin":0.99,"vmax":0.423,"vmin":0.3813},{"hmax":1,"hmin":0.99,"vmax":0.4013,"vmin":0.3596},{"hmax":1,"hmin":0.99,"vmax":0.3796,"vmin":0.3378},{"hmax":1,"hmin":0.99,"vmax":0.3578,"vmin":0.3161},{"hmax":1,"hmin":0.99,"vmax":0.3361,"vmin":0.2943},{"hmax":1,"hmin":0.99,"vmax":0.3143,"vmin":0.2726},{"hmax":1,"hmin":0.99,"vmax":0.2926,"vmin":0.2509},{"hmax":1,"hmin":0.99,"vmax":0.2709,"vmin":0.2291},{"hmax":1,"hmin":0.99,"vmax":0.2491,"vmin":0.2074},{"hmax":1,"hmin":0.99,"vmax":0.2274,"vmin":0.1857},{"hmax":1,"hmin":0.99,"vmax":0.2057,"vmin":0.1639},{"hmax":1,"hmin":0.99,"vmax":0.1839,"vmin":0.1422},{"hmax":1,"hmin":0.99,"vmax":0.1622,"vmin":0.1204},{"hmax":1,"hmin":0.99,"vmax":0.1404,"vmin":0.0987},{"hmax":1,"hmin":0.99,"vmax":0.1187,"vmin":0.077},{"hmax":1,"hmin":0.99,"vmax":0.097,"vmin":0.0552},{"hmax":1,"hmin":0.99,"vmax":0.0752,"vmin":0.0335},{"hmax":1,"hmin":0.99,"vmax":0.0535,"vmin":0.0117},{"hmax":1,"hmin":0.99,"vmax":0.0317,"vmin":0},{"hmax":1,"hmin":0.9765,"vmax":0.01,"vmin":0},{"hmax":0.9965,"hmin":0.963,"vmax":0.01,"vmin":0},{"hmax":0.983,"hmin":0.9495,"vmax":0.01,"vmin":0},{"hmax":0.9695,"hmin":0.9359,"vmax":0.01,"vmin":0},{"hmax":0.9559,"hmin":0.9224,"vmax":0.01,"vmin":0},{"hmax":0.9424,"hmin":0.9089,"vmax":0.01,"vmin":0},{"hmax":0.9289,"hmin":0.8954,"vmax":0.01,"vmin":0},{"hmax":0.9154,"hmin":0.8819,"vmax":0.01,"vmin":0},{"hmax":0.9019,"hmin":0.8684,"vmax":0.01,"vmin":0},{"hmax":0.8884,"hmin":0.8549,"vmax":0.01,"vmin":0},{"hmax":0.8749,"hmin":0.8414,"vmax":0.01,"vmin":0},{"hmax":0.8614,"hmin":0.8278,"vmax":0.01,"vmin":0},{"hmax":0.8478,"hmin":0.8143,"vmax":0.01,"vmin":0},{"hmax":0.8343,"hmin":0.8008,"vmax":0.01,"vmin":0},{"hmax":0.8208,"hmin":0.7873,"vmax":0.01,"vmin":0},{"hmax":0.8073,"hmin":0.7738,"vmax":0.01,"vmin":0},{"hmax":0.7938,"hmin":0.7603,"vmax":0.01,"vmin":0},{"hmax":0.7803,"hmin":0.7468,"vmax":0.01,"vmin":0},{"hmax":0.7668,"hmin":0.7332,"vmax":0.01,"vmin":0},{"hmax":0.7532,"hmin":0.7197,"vmax":0.01,"vmin":0},{"hmax":0.7397,"hmin":0.7062,"vmax":0.01,"vmin":0},{"hmax":0.7262,"hmin":0.6927,"vmax":0.01,"vmin":0},{"hmax":0.7127,"hmin":0.6792,"vmax":0.01,"vmin":0},{"hmax":0.6992,"hmin":0.6657,"vmax":0.01,"vmin":0},{"hmax":0.6857,"hmin":0.6522,"vmax":0.01,"vmin":0},{"hmax":0.6722,"hmin":0.6386,"vmax":0.01,"vmin":0},{"hmax":0.6586,"hmin":0.6251,"vmax":0.01,"vmin":0},{"hmax":0.6451,"hmin":0.6116,"vmax":0.01,"vmin":0},{"hmax":0.6316,"hmin":0.5981,"vmax":0.01,"vmin":0},{"hmax":0.6181,"hmin":0.5846,"vmax":0.01,"vmin":0},{"hmax":0.6046,"hmin":0.5711,"vmax":0.01,"vmin":0},{"hmax":0.5911,"hmin":0.5576,"vmax":0.01,"vmin":0},{"hmax":0.5776,"hmin":0.5441,"vmax":0.01,"vmin":0},{"hmax":0.5641,"hmin":0.5305,"vmax":0.01,"vmin":0},{"hmax":0.5505,"hmin":0.517,"vmax":0.01,"vmin":0},{"hmax":0.537,"hmin":0.5035,"vmax":0.01,"vmin":0},{"hmax":0.5235,"hmin":0.49,"vmax":0.01,"vmin":0},{"hmax":0.51,"hmin":0.4765,"vmax":0.01,"vmin":0},{"hmax":0.4965,"hmin":0.463,"vmax":0.01,"vmin":0},{"hmax":0.483,"hmin":0.4495,"vmax":0.01,"vmin":0},{"hmax":0.4695,"hmin":0.4359,"vmax":0.01,"vmin":0},{"hmax":0.4559,"hmin":0.4224,"vmax":0.01,"vmin":0},{"hmax":0.4424,"hmin":0.4089,"vmax":0.01,"vmin":0},{"hmax":0.4289,"hmin":0.3954,"vmax":0.01,"vmin":0},{"hmax":0.4154,"hmin":0.3819,"vmax":0.01,"vmin":0},{"hmax":0.4019,"hmin":0.3684,"vmax":0.01,"vmin":0},{"hmax":0.3884,"hmin":0.3549,"vmax":0.01,"vmin":0},{"hmax":0.3749,"hmin":0.3414,"vmax":0.01,"vmin":0},{"hmax":0.3614,"hmin":0.3278,"vmax":0.01,"vmin":0},{"hmax":0.3478,"hmin":0.3143,"vmax":0.01,"vmin":0},{"hmax":0.3343,"hmin":0.3008,"vmax":0.01,"vmin":0},{"hmax":0.3208,"hmin":0.2873,"vmax":0.01,"vmin":0},{"hmax":0.3073,"hmin":0.2738,"vmax":0.01,"vmin":0},{"hmax":0.2938,"hmin":0.2603,"vmax":0.01,"vmin":0},{"hmax":0.2803,"hmin":0.2468,"vmax":0.01,"vmin":0},{"hmax":0.2668,"hmin":0.2332,"vmax":0.01,"vmin":0},{"hmax":0.2532,"hmin":0.2197,"vmax":0.01,"vmin":0},{"hmax":0.2397,"hmin":0.2062,"vmax":0.01,"vmin":0},{"hmax":0.2262,"hmin":0.1927,"vmax":0.01,"vmin":0},{"hmax":0.2127,"hmin":0.1792,"vmax":0.01,"vmin":0},{"hmax":0.1992,"hmin":0.1657,"vmax":0.01,"vmin":0},{"hmax":0.1857,"hmin":0.1522,"vmax":0.01,"vmin":0},{"hmax":0.1722,"hmin":0.1386,"vmax":0.01,"vmin":0},{"hmax":0.1586,"hmin":0.1251,"vmax":0.01,"vmin":0},{"hmax":0.1451,"hmin":0.1116,"vmax":0.01,"vmin":0},{"hmax":0.1316,"hmin":0.0981,"vmax":0.01,"vmin":0},{"hmax":0.1181,"hmin":0.0846,"vmax":0.01,"vmin":0},{"hmax":0.1046,"hmin":0.0711,"vmax":0.01,"vmin":0},{"hmax":0.0911,"hmin":0.0576,"vmax":0.01,"vmin":0},{"hmax":0.0776,"hmin":0.0441,"vmax":0.01,"vmin":0},{"hmax":0.0641,"hmin":0.0305,"vmax":0.01,"vmin":0},{"hmax":0.0505,"hmin":0.017,"vmax":0.01,"vmin":0},{"hmax":0.037,"hmin":0.0035,"vmax":0.01,"vmin":0},{"hmax":0.0235,"hmin":0,"vmax":0.01,"vmin":0},{"hmax":0.01,"hmin":0,"vmax":0.0317,"vmin":0},{"hmax":0.01,"hmin":0,"vmax":0.0535,"vmin":0.0117},{"hmax":0.01,"hmin":0,"vmax":0.0752,"vmin":0.0335},{"hmax":0.01,"hmin":0,"vmax":0.097,"vmin":0.0552},{"hmax":0.01,"hmin":0,"vmax":0.1187,"vmin":0.077},{"hmax":0.01,"hmin":0,"vmax":0.1404,"vmin":0.0987},{"hmax":0.01,"hmin":0,"vmax":0.1622,"vmin":0.1204},{"hmax":0.01,"hmin":0,"vmax":0.1839,"vmin":0.1422},{"hmax":0.01,"hmin":0,"vmax":0.2057,"vmin":0.1639},{"hmax":0.01,"hmin":0,"vmax":0.2274,"vmin":0.1857},{"hmax":0.01,"hmin":0,"vmax":0.2491,"vmin":0.2074},{"hmax":0.01,"hmin":0,"vmax":0.2709,"vmin":0.2291},{"hmax":0.01,"hmin":0,"vmax":0.2926,"vmin":0.2509},{"hmax":0.01,"hmin":0,"vmax":0.3143,"vmin":0.2726},{"hmax":0.01,"hmin":0,"vmax":0.3361,"vmin":0.2943},{"hmax":0.01,"hmin":0,"vmax":0.3578,"vmin":0.3161},{"hmax":0.01,"hmin":0,"vmax":0.3796,"vmin":0.3378},{"hmax":0.01,"hmin":0,"vmax":0.4013,"vmin":0.3596},{"hmax":0.01,"hmin":0,"vmax":0.423,"vmin":0.3813},{"hmax":0.01,"hmin":0,"vmax":0.4448,"vmin":0.403},{"hmax":0.01,"hmin":0,"vmax":0.4665,"vmin":0.4248},{"hmax":0.01,"hmin":0,"vmax":0.4883,"vmin":0.4465},{"hmax":0.01,"hmin":0,"vmax":0.51,"vmin":0.4683},{"hmax":0.01,"hmin":0,"vmax":0.5317,"vmin":0.49},{"hmax":0.01,"hmin":0,"vmax":0.5535,"vmin":0.5117},{"hmax":0.01,"hmin":0,"vmax":0.5752,"vmin":0.5335},{"hmax":0.01,"hmin":0,"vmax":0.597,"vmin":0.5552},{"hmax":0.01,"hmin":0,"vmax":0.6187,"vmin":0.577},{"hmax":0.01,"hmin":0,"vmax":0.6404,"vmin":0.5987},{"hmax":0.01,"hmin":0,"vmax":0.6622,"vmin":0.6204},{"hmax":0.01,"hmin":0,"vmax":0.6839,"vmin":0.6422},{"hmax":0.01,"hmin":0,"vmax":0.7057,"vmin":0.6639},{"hmax":0.01,"hmin":0,"vmax":0.7274,"vmin":0.6857},{"hmax":0.01,"hmin":0,"vmax":0.7491,"vmin":0.7074},{"hmax":0.01,"hmin":0,"vmax":0.7709,"vmin":0.7291},{"hmax":0.01,"hmin":0,"vmax":0.7926,"vmin":0.7509},{"hmax":0.01,"hmin":0,"vmax":0.8143,"vmin":0.7726},{"hmax":0.01,"hmin":0,"vmax":0.8361,"vmin":0.7943},{"hmax":0.01,"hmin":0,"vmax":0.8578,"vmin":0.8161},{"hmax":0.01,"hmin":0,"vmax":0.8796,"vmin":0.8378},{"hmax":0.01,"hmin":0,"vmax":0.9013,"vmin":0.8596},{"hmax":0.01,"hmin":0,"vmax":0.923,"vmin":0.8813},{"hmax":0.01,"hmin":0,"vmax":0.9448,"vmin":0.903},{"hmax":0.01,"hmin":0,"vmax":0.9665,"vmin":0.9248},{"hmax":0.01,"hmin":0,"vmax":0.9883,"vmin":0.9465},{"hmax":0.01,"hmin":0,"vmax":1,"vmin":0.9683},{"hmax":0.0235,"hmin":0,"vmax":1,"vmin":0.99},{"hmax":0.037,"hmin":0.0035,"vmax":1,"vmin":0.99},{"hmax":0.0505,"hmin":0.017,"vmax":1,"vmin":0.99},{"hmax":0.0641,"hmin":0.0305,"vmax":1,"vmin":0.99},{"hmax":0.0776,"hmin":0.0441,"vmax":1,"vmin":0.99},{"hmax":0.0911,"hmin":0.0576,"vmax":1,"vmin":0.99},{"hmax":0.1046,"hmin":0.0711,"vmax":1,"vmin":0.99},{"hmax":0.1181,"hmin":0.0846,"vmax":1,"vmin":0.99},{"hmax":0.1316,"hmin":0.0981,"vmax":1,"vmin":0.99},{"hmax":0.1451,"hmin":0.1116,"vmax":1,"vmin":0.99},{"hmax":0.1586,"hmin":0.1251,"vmax":1,"vmin":0.99},{"hmax":0.1722,"hmin":0.1386,"vmax":1,"vmin":0.99},{"hmax":0.1857,"hmin":0.1522,"vmax":1,"vmin":0.99},{"hmax":0.1992,"hmin":0.1657,"vmax":1,"vmin":0.99},{"hmax":0.2127,"hmin":0.1792,"vmax":1,"vmin":0.99},{"hmax":0.2262,"hmin":0.1927,"vmax":1,"vmin":0.99},{"hmax":0.2397,"hmin":0.2062,"vmax":1,"vmin":0.99},{"hmax":0.2532,"hmin":0.2197,"vmax":1,"vmin":0.99},{"hmax":0.2668,"hmin":0.2332,"vmax":1,"vmin":0.99},{"hmax":0.2803,"hmin":0.2468,"vmax":1,"vmin":0.99},{"hmax":0.2938,"hmin":0.2603,"vmax":1,"vmin":0.99},{"hmax":0.3073,"hmin":0.2738,"vmax":1,"vmin":0.99},{"hmax":0.3208,"hmin":0.2873,"vmax":1,"vmin":0.99},{"hmax":0.3343,"hmin":0.3008,"vmax":1,"vmin":0.99},{"hmax":0.3478,"hmin":0.3143,"vmax":1,"vmin":0.99},{"hmax":0.3614,"hmin":0.3278,"vmax":1,"vmin":0.99},{"hmax":0.3749,"hmin":0.3414,"vmax":1,"vmin":0.99},{"hmax":0.3884,"hmin":0.3549,"vmax":1,"vmin":0.99},{"hmax":0.4019,"hmin":0.3684,"vmax":1,"vmin":0.99},{"hmax":0.4154,"hmin":0.3819,"vmax":1,"vmin":0.99},{"hmax":0.4289,"hmin":0.3954,"vmax":1,"vmin":0.99},{"hmax":0.4424,"hmin":0.4089,"vmax":1,"vmin":0.99},{"hmax":0.4559,"hmin":0.4224,"vmax":1,"vmin":0.99},{"hmax":0.4695,"hmin":0.4359,"vmax":1,"vmin":0.99},{"hmax":0.483,"hmin":0.4495,"vmax":1,"vmin":0.99},{"hmax":0.4965,"hmin":0.463,"vmax":1,"vmin":0.99},{"hmax":0.51,"hmin":0.4765,"vmax":1,"vmin":0.99}],"priorities":[{"active":true,"componentId":"COLOR","origin":"Home Assistant@::ffff:192.168.1.104","priority":128,"value":{"HSL":[65535,0,1],"RGB":[255,255,255]},"visible":true},{"active":true,"componentId":"V4L","origin":"System","owner":"V4L2","priority":240,"visible":false},{"active":false,"componentId":"GRABBER","origin":"System","priority":250,"visible":false}],"priorities_autoselect":true,"services":["boblight","cec","effectengine","forwarder","flatbuffer","protobuffer","mDNS","SSDP","borderdetection"],"transform":[{"blacklevel":[0,0,0],"brightnessGain":1,"gamma":[2.5,2.5,2.5],"id":"default","luminanceGain":1,"luminanceMinimum":0,"saturationGain":1,"saturationLGain":1,"threshold":[0,0,0],"whitelevel":[1,1,1]}],"videomode":"2D"},"instance":0,"success":true,"tan":3}\n'
That is showing HA successfully subscribing to the changes. The Hyperion folks will need to see that to be convinced that Hyperion should be sending updates.
I'd recommend you restart HomeAssistant, and once it's started try to toggle 1 switch. Then paste all the Hyperion log lines straight into your other bug report, since it will nicely show the "conversation" between HA and Hyperion and make it clear to the Hyperion devs that something is likely awry.
I've updated the bug report with full logs and screenshots after a fresh start but it now seems to me that the LED Device in HA is NOT Hyperion's 'LED Output', since the initial state in HA for that switch does not match the current state of LED output in Hyperion.
switch.first_led_hardware_instance_component_led_device
is now able to control Hyperion's LED Output
and turns my WLED strip on/off following a full restart of Athom LS-4P WLED device, Hyperion and HA, after a couple of days of being away from it.
I see now that light.first_led_hardware_instance
simply instantiates/removes Home Assistant
as a Remote Control Source in Hyperion:
and
The problem
Switching the First LED Hardware Instance has no effect in Hyperion.
What version of Home Assistant Core has the issue?
What was the last working version of Home Assistant Core?
??
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Hyperion
Link to integration documentation on our website
https://www.home-assistant.io/integrations/hyperion/
Diagnostics information
n/a
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response