Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turning a pixelblaze back on does not work #1

Open
lairsdragon opened this issue Apr 19, 2021 · 5 comments
Open

Turning a pixelblaze back on does not work #1

lairsdragon opened this issue Apr 19, 2021 · 5 comments

Comments

@lairsdragon
Copy link

Version of the custom_component

797d6d0

Describe the bug

Turning off a pixelblaze with this integration does work but turning it back on does not work as expected. The hass internal state changes to on but the pixelblaze does not turn on.

Debug log


ome-assistant   | 2021-04-19 16:34:17 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140437571143568] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_on', 'service_data': {'entity_id': 'light.pixelblaze_terasse'}, 'id': 122}
home-assistant   | 2021-04-19 16:34:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.pixelblaze_terasse>
home-assistant   | 2021-04-19 16:34:17 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140437571143568] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_on', 'service_data': {'entity_id': 'light.pixelblaze_terasse'}, 'id': 123}
home-assistant   | 2021-04-19 16:34:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.pixelblaze_terasse>
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.components.light] light.pixelblaze_terasse: set to unsupported color_mode: unknown, supported_color_modes: {'hs'}
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.pixelblaze_terasse, old_state=<state light.pixelblaze_terasse=off; effect_list=['SEQUENCER', '2D Wandering Fireball', '3D Rotation / Spotlights', 'blink fade', 'block reflections', 'Bouncer3D', 'color bands', 'color fade pulse', 'color twinkle bounce', 'color twinkles', 'cube fire 3D', 'Example: color hues', 'Example: modes and waveforms', 'Example: time and animation', 'Fancy Scolling Text 2D', 'fast pulse', 'fast pulse 3d', 'firework dust', 'firework rocket sparks', 'Fixed Color', 'Fixed Color HSV', 'glitch bands', 'green ripple reflections', 'honeycomb 3D', 'KITT', 'marching rainbow', 'matrix 2D honeycomb', 'matrix 2D pulse', 'millipede', 'opposites', 'Perlin/Simplex Noise 2D', 'plasma 3D', 'plasma 3D', 'Polar mapping helper 2D / 3D', 'rainbow fonts', 'rainbow fonts 2', 'rainbow melt', 'Red-Green XY 2D Sweep', 'RGBclock 2D', 'scrolling text marquee 2D', 'Shimmer Crossfade 2D', 'slow color shift', 'sound - blinkfade', 'sound - rays', 'sound - spectro kalidastrip', 'sound - spectromatrix optim', 'sparks', 'sparks center', 'spin cycle', 'tixy 2D', 'Wave 2D', 'xorcery 2D/3D'], supported_color_modes=['hs'], assumed_state=True, supported_features=21 @ 2021-04-19T22:34:17.492859+02:00>, new_state=<state light.pixelblaze_terasse=on; effect_list=['SEQUENCER', '2D Wandering Fireball', '3D Rotation / Spotlights', 'blink fade', 'block reflections', 'Bouncer3D', 'color bands', 'color fade pulse', 'color twinkle bounce', 'color twinkles', 'cube fire 3D', 'Example: color hues', 'Example: modes and waveforms', 'Example: time and animation', 'Fancy Scolling Text 2D', 'fast pulse', 'fast pulse 3d', 'firework dust', 'firework rocket sparks', 'Fixed Color', 'Fixed Color HSV', 'glitch bands', 'green ripple reflections', 'honeycomb 3D', 'KITT', 'marching rainbow', 'matrix 2D honeycomb', 'matrix 2D pulse', 'millipede', 'opposites', 'Perlin/Simplex Noise 2D', 'plasma 3D', 'plasma 3D', 'Polar mapping helper 2D / 3D', 'rainbow fonts', 'rainbow fonts 2', 'rainbow melt', 'Red-Green XY 2D Sweep', 'RGBclock 2D', 'scrolling text marquee 2D', 'Shimmer Crossfade 2D', 'slow color shift', 'sound - blinkfade', 'sound - rays', 'sound - spectro kalidastrip', 'sound - spectromatrix optim', 'sparks', 'sparks center', 'spin cycle', 'tixy 2D', 'Wave 2D', 'xorcery 2D/3D'], supported_color_modes=['hs'], color_mode=unknown, assumed_state=True, supported_features=21 @ 2021-04-19T22:34:18.085200+02:00>>
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140437571143568] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.pixelblaze_terasse", "old_state": {"entity_id": "light.pixelblaze_terasse", "state": "off", "attributes": {"effect_list": ["SEQUENCER", "2D Wandering Fireball", "3D Rotation / Spotlights", "blink fade", "block reflections", "Bouncer3D", "color bands", "color fade pulse", "color twinkle bounce", "color twinkles", "cube fire 3D", "Example: color hues", "Example: modes and waveforms", "Example: time and animation", "Fancy Scolling Text 2D", "fast pulse", "fast pulse 3d", "firework dust", "firework rocket sparks", "Fixed Color", "Fixed Color HSV", "glitch bands", "green ripple reflections", "honeycomb 3D", "KITT", "marching rainbow", "matrix 2D honeycomb", "matrix 2D pulse", "millipede", "opposites", "Perlin/Simplex Noise 2D", "plasma 3D", "plasma 3D", "Polar mapping helper 2D / 3D", "rainbow fonts", "rainbow fonts 2", "rainbow melt", "Red-Green XY 2D Sweep", "RGBclock 2D", "scrolling text marquee 2D", "Shimmer Crossfade 2D", "slow color shift", "sound - blinkfade", "sound - rays", "sound - spectro kalidastrip", "sound - spectromatrix optim", "sparks", "sparks center", "spin cycle", "tixy 2D", "Wave 2D", "xorcery 2D/3D"], "supported_color_modes": ["hs"], "assumed_state": true, "supported_features": 21}, "last_changed": "2021-04-19T20:34:17.492859+00:00", "last_updated": "2021-04-19T20:34:17.492859+00:00", "context": {"id": "dac2336d96efe0c9bdf8e4b4debb5e7c", "parent_id": null, "user_id": "b6e0a5a4cfa2456686391932605d0b97"}}, "new_state": {"entity_id": "light.pixelblaze_terasse", "state": "on", "attributes": {"effect_list": ["SEQUENCER", "2D Wandering Fireball", "3D Rotation / Spotlights", "blink fade", "block reflections", "Bouncer3D", "color bands", "color fade pulse", "color twinkle bounce", "color twinkles", "cube fire 3D", "Example: color hues", "Example: modes and waveforms", "Example: time and animation", "Fancy Scolling Text 2D", "fast pulse", "fast pulse 3d", "firework dust", "firework rocket sparks", "Fixed Color", "Fixed Color HSV", "glitch bands", "green ripple reflections", "honeycomb 3D", "KITT", "marching rainbow", "matrix 2D honeycomb", "matrix 2D pulse", "millipede", "opposites", "Perlin/Simplex Noise 2D", "plasma 3D", "plasma 3D", "Polar mapping helper 2D / 3D", "rainbow fonts", "rainbow fonts 2", "rainbow melt", "Red-Green XY 2D Sweep", "RGBclock 2D", "scrolling text marquee 2D", "Shimmer Crossfade 2D", "slow color shift", "sound - blinkfade", "sound - rays", "sound - spectro kalidastrip", "sound - spectromatrix optim", "sparks", "sparks center", "spin cycle", "tixy 2D", "Wave 2D", "xorcery 2D/3D"], "supported_color_modes": ["hs"], "color_mode": "unknown", "assumed_state": true, "supported_features": 21}, "last_changed": "2021-04-19T20:34:18.085200+00:00", "last_updated": "2021-04-19T20:34:18.085200+00:00", "context": {"id": "d7f5921444b97574e68b3369a898feb7", "parent_id": null, "user_id": "b6e0a5a4cfa2456686391932605d0b97"}}}, "origin": "LOCAL", "time_fired": "2021-04-19T20:34:18.085200+00:00", "context": {"id": "d7f5921444b97574e68b3369a898feb7", "parent_id": null, "user_id": "b6e0a5a4cfa2456686391932605d0b97"}}}
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140437571143568] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_off', 'service_data': {'entity_id': 'light.pixelblaze_terasse'}, 'id': 124}
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_off, service_data=entity_id=light.pixelblaze_terasse>
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.components.light] light.pixelblaze_terasse: set to unsupported color_mode: unknown, supported_color_modes: {'hs'}
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.pixelblaze_terasse, old_state=<state light.pixelblaze_terasse=on; effect_list=['SEQUENCER', '2D Wandering Fireball', '3D Rotation / Spotlights', 'blink fade', 'block reflections', 'Bouncer3D', 'color bands', 'color fade pulse', 'color twinkle bounce', 'color twinkles', 'cube fire 3D', 'Example: color hues', 'Example: modes and waveforms', 'Example: time and animation', 'Fancy Scolling Text 2D', 'fast pulse', 'fast pulse 3d', 'firework dust', 'firework rocket sparks', 'Fixed Color', 'Fixed Color HSV', 'glitch bands', 'green ripple reflections', 'honeycomb 3D', 'KITT', 'marching rainbow', 'matrix 2D honeycomb', 'matrix 2D pulse', 'millipede', 'opposites', 'Perlin/Simplex Noise 2D', 'plasma 3D', 'plasma 3D', 'Polar mapping helper 2D / 3D', 'rainbow fonts', 'rainbow fonts 2', 'rainbow melt', 'Red-Green XY 2D Sweep', 'RGBclock 2D', 'scrolling text marquee 2D', 'Shimmer Crossfade 2D', 'slow color shift', 'sound - blinkfade', 'sound - rays', 'sound - spectro kalidastrip', 'sound - spectromatrix optim', 'sparks', 'sparks center', 'spin cycle', 'tixy 2D', 'Wave 2D', 'xorcery 2D/3D'], supported_color_modes=['hs'], color_mode=unknown, assumed_state=True, supported_features=21 @ 2021-04-19T22:34:18.085200+02:00>, new_state=<state light.pixelblaze_terasse=off; effect_list=['SEQUENCER', '2D Wandering Fireball', '3D Rotation / Spotlights', 'blink fade', 'block reflections', 'Bouncer3D', 'color bands', 'color fade pulse', 'color twinkle bounce', 'color twinkles', 'cube fire 3D', 'Example: color hues', 'Example: modes and waveforms', 'Example: time and animation', 'Fancy Scolling Text 2D', 'fast pulse', 'fast pulse 3d', 'firework dust', 'firework rocket sparks', 'Fixed Color', 'Fixed Color HSV', 'glitch bands', 'green ripple reflections', 'honeycomb 3D', 'KITT', 'marching rainbow', 'matrix 2D honeycomb', 'matrix 2D pulse', 'millipede', 'opposites', 'Perlin/Simplex Noise 2D', 'plasma 3D', 'plasma 3D', 'Polar mapping helper 2D / 3D', 'rainbow fonts', 'rainbow fonts 2', 'rainbow melt', 'Red-Green XY 2D Sweep', 'RGBclock 2D', 'scrolling text marquee 2D', 'Shimmer Crossfade 2D', 'slow color shift', 'sound - blinkfade', 'sound - rays', 'sound - spectro kalidastrip', 'sound - spectromatrix optim', 'sparks', 'sparks center', 'spin cycle', 'tixy 2D', 'Wave 2D', 'xorcery 2D/3D'], supported_color_modes=['hs'], assumed_state=True, supported_features=21 @ 2021-04-19T22:34:18.569541+02:00>>
home-assistant   | 2021-04-19 16:34:18 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140437571143568] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.pixelblaze_terasse", "old_state": {"entity_id": "light.pixelblaze_terasse", "state": "on", "attributes": {"effect_list": ["SEQUENCER", "2D Wandering Fireball", "3D Rotation / Spotlights", "blink fade", "block reflections", "Bouncer3D", "color bands", "color fade pulse", "color twinkle bounce", "color twinkles", "cube fire 3D", "Example: color hues", "Example: modes and waveforms", "Example: time and animation", "Fancy Scolling Text 2D", "fast pulse", "fast pulse 3d", "firework dust", "firework rocket sparks", "Fixed Color", "Fixed Color HSV", "glitch bands", "green ripple reflections", "honeycomb 3D", "KITT", "marching rainbow", "matrix 2D honeycomb", "matrix 2D pulse", "millipede", "opposites", "Perlin/Simplex Noise 2D", "plasma 3D", "plasma 3D", "Polar mapping helper 2D / 3D", "rainbow fonts", "rainbow fonts 2", "rainbow melt", "Red-Green XY 2D Sweep", "RGBclock 2D", "scrolling text marquee 2D", "Shimmer Crossfade 2D", "slow color shift", "sound - blinkfade", "sound - rays", "sound - spectro kalidastrip", "sound - spectromatrix optim", "sparks", "sparks center", "spin cycle", "tixy 2D", "Wave 2D", "xorcery 2D/3D"], "supported_color_modes": ["hs"], "color_mode": "unknown", "assumed_state": true, "supported_features": 21}, "last_changed": "2021-04-19T20:34:18.085200+00:00", "last_updated": "2021-04-19T20:34:18.085200+00:00", "context": {"id": "d7f5921444b97574e68b3369a898feb7", "parent_id": null, "user_id": "b6e0a5a4cfa2456686391932605d0b97"}}, "new_state": {"entity_id": "light.pixelblaze_terasse", "state": "off", "attributes": {"effect_list": ["SEQUENCER", "2D Wandering Fireball", "3D Rotation / Spotlights", "blink fade", "block reflections", "Bouncer3D", "color bands", "color fade pulse", "color twinkle bounce", "color twinkles", "cube fire 3D", "Example: color hues", "Example: modes and waveforms", "Example: time and animation", "Fancy Scolling Text 2D", "fast pulse", "fast pulse 3d", "firework dust", "firework rocket sparks", "Fixed Color", "Fixed Color HSV", "glitch bands", "green ripple reflections", "honeycomb 3D", "KITT", "marching rainbow", "matrix 2D honeycomb", "matrix 2D pulse", "millipede", "opposites", "Perlin/Simplex Noise 2D", "plasma 3D", "plasma 3D", "Polar mapping helper 2D / 3D", "rainbow fonts", "rainbow fonts 2", "rainbow melt", "Red-Green XY 2D Sweep", "RGBclock 2D", "scrolling text marquee 2D", "Shimmer Crossfade 2D", "slow color shift", "sound - blinkfade", "sound - rays", "sound - spectro kalidastrip", "sound - spectromatrix optim", "sparks", "sparks center", "spin cycle", "tixy 2D", "Wave 2D", "xorcery 2D/3D"], "supported_color_modes": ["hs"], "assumed_state": true, "supported_features": 21}, "last_changed": "2021-04-19T20:34:18.569541+00:00", "last_updated": "2021-04-19T20:34:18.569541+00:00", "context": {"id": "3c8098ef5a01b11b696d98b2ffc7e054", "parent_id": null, "user_id": "b6e0a5a4cfa2456686391932605d0b97"}}}, "origin": "LOCAL", "time_fired": "2021-04-19T20:34:18.569541+00:00", "context": {"id": "3c8098ef5a01b11b696d98b2ffc7e054", "parent_id": null, "user_id": "b6e0a5a4cfa2456686391932605d0b97"}}}

@nkonopinski
Copy link

I'm having the same issue as of 4ade68f

@estiens
Copy link
Contributor

estiens commented Jul 31, 2021

You need to send a brightness argument (if you just use the lovelace turn-on button, it will not set the brightness level higher) - I have a PR to fix it, but if you are using in a script, just use a brightness argument and it should work

@nkonopinski
Copy link

Thanks @estiens, that PR fixes the issue for me

@estiens
Copy link
Contributor

estiens commented Jun 10, 2022

merged! thanks @vutang50 !

@sanderant
Copy link

Just wanted to add an unnecessary compliment on merging this and now everything is perfect! Thanks so much @estiens and @vutang50 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants