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
I have configured the Light group with 6 Xiaomi Philip crystal lamp, when i try to switch on or off the light group, it will randomly cannot control one or two lamp (means it will ignore the switch command), and the error log will show on information page.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Additional information:
Sat Jan 05 2019 16:38:12 GMT+0800 (Hong Kong Standard Time)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/xiaomi_miio.py", line 270, in _try_command
partial(func, *args, **kwargs))
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/miio/philips_bulb.py", line 141, in set_brightness_and_color_temperature
return self.send("set_bricct", [brightness, cct])
File "/srv/homeassistant/lib/python3.5/site-packages/miio/device.py", line 272, in send
raise DeviceError(m.data.value["error"])
miio.exceptions.DeviceError: {'code': -30001, 'message': 'Resp invalid json.'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/automation/__init__.py", line 294, in async_trigger
await self._async_action(self.entity_id, variables, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/automation/__init__.py", line 378, in action
await script_obj.async_run(variables, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 130, in async_run
await self._handle_action(action, variables, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 172, in _handle_action
action, variables, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 261, in _async_call_service
context=context
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 81, in async_call_from_config
domain, service_name, service_data, blocking=blocking, context=context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1121, in async_call
self._execute_service(handler, service_call))
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1143, in _execute_service
await handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/script.py", line 123, in service_handler
context=service.context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/script.py", line 181, in async_turn_on
kwargs.get(ATTR_VARIABLES), context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 130, in async_run
await self._handle_action(action, variables, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 172, in _handle_action
action, variables, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 261, in _async_call_service
context=context
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 81, in async_call_from_config
domain, service_name, service_data, blocking=blocking, context=context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1121, in async_call
self._execute_service(handler, service_call))
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1143, in _execute_service
await handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/__init__.py", line 270, in async_handle_light_on_service
await light.async_turn_on(**pars)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/group.py", line 180, in async_turn_on
light.DOMAIN, light.SERVICE_TURN_ON, data, blocking=True)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1121, in async_call
self._execute_service(handler, service_call))
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1143, in _execute_service
await handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/__init__.py", line 270, in async_handle_light_on_service
await light.async_turn_on(**pars)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/xiaomi_miio.py", line 445, in async_turn_on
percent_brightness, percent_color_temp)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/xiaomi_miio.py", line 276, in _try_command
_LOGGER.error(mask_error, exc)
File "/usr/lib/python3.5/logging/__init__.py", line 1309, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/lib/python3.5/logging/__init__.py", line 1416, in _log
self.handle(record)
File "/usr/lib/python3.5/logging/__init__.py", line 1426, in handle
self.callHandlers(record)
File "/usr/lib/python3.5/logging/__init__.py", line 1488, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.5/logging/__init__.py", line 856, in handle
self.emit(record)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 130, in emit
entry = self._create_entry(record, stack)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 113, in _create_entry
'message': record.getMessage(),
File "/usr/lib/python3.5/logging/__init__.py", line 331, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
The text was updated successfully, but these errors were encountered:
Home Assistant release with the issue:
0.84.6
Last working Home Assistant release (if known):
0.73.1 <-- I directly upgrade from here.
Operating environment (Hass.io/Docker/Windows/etc.):
Raspberry Virtual Environment
Component/platform:
https://www.home-assistant.io/components/light.xiaomi_miio/
Description of problem:
I have configured the Light group with 6 Xiaomi Philip crystal lamp, when i try to switch on or off the light group, it will randomly cannot control one or two lamp (means it will ignore the switch command), and the error log will show on information page.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: