You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem #12 (comment) still exists on Lanbons and current CC versions:
turn on moodlight from HA entity (the one created by this component)
select a nice color and brightnesd, and test by turning the moodlight on and off repeatedly from HA - everything's fine at this point
turn the moodlight OFF
restart HA and reboot or power-cycle plate in the same time
try turning on moodlight: color/brightness forgotten + error below
The real world case is very simple: a power outage can restart plates and HA in the same time.
Debug log
2021-05-31 13:36:09 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140523982527840] color_hs_to_RGB() argument after * must be an iterable, not NoneType
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 167, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1481, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1516, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 726, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 376, in async_handle_light_on_service
await light.async_turn_on(**params)
File "/config/custom_components/openhasp/light.py", line 507, in async_turn_on
color_util.color_hs_to_RGB(*self._hs),
TypeError: color_hs_to_RGB() argument after * must be an iterable, not NoneType
The text was updated successfully, but these errors were encountered:
Version of the custom_component
0.6.0 main f597d75
Configuration
N/A
Describe the bug
Problem #12 (comment) still exists on Lanbons and current CC versions:
The real world case is very simple: a power outage can restart plates and HA in the same time.
Debug log
The text was updated successfully, but these errors were encountered: