I seem to be having an issue controlling Hive Lights and Plugs with b24.
2020-12-05 15:50:10 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140027683381840] '"status"'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1451, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1486, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 499, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 536, in _handle_entity_call
await result
File "/config/custom_components/hive/__init__.py", line 228, in wrapper
await func(self, *args, **kwargs)
File "/config/custom_components/hive/light.py", line 133, in async_turn_off
await self.hive.light.turn_off(self.device)
File "/usr/local/lib/python3.8/site-packages/pyhiveapi/light.py", line 178, in turn_off
resp = await self.hive.set_state(data["type"],
File "/usr/local/lib/python3.8/site-packages/pyhiveapi/hive_async_api.py", line 177, in set_state
await self.request('post', url, data=jsc)
File "/usr/local/lib/python3.8/site-packages/pyhiveapi/hive_async_api.py", line 55, in request
await self.log.log(
File "/usr/local/lib/python3.8/site-packages/pyhiveapi/custom_logging.py", line 42, in log
logging_data = name + new_message.format(data)
KeyError: '"status"'
Also received the following following the restart.
2020-12-05 15:41:21 ERROR (MainThread) [homeassistant.components.light] Error adding entities for domain light with platform hive
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 384, in _async_add_entity
device_info = entity.device_info
File "/config/custom_components/hive/light.py", line 55, in device_info
"model": self.device["device_data"]["model"],
KeyError: 'model'
2020-12-05 15:41:21 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform hive
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 384, in _async_add_entity
device_info = entity.device_info
File "/config/custom_components/hive/sensor.py", line 63, in device_info
"model": self.device["device_data"]["model"],
KeyError: 'model'
2020-12-05 15:41:21 ERROR (MainThread) [homeassistant.components.light] Error while setting up hive platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 207, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 384, in _async_add_entity
device_info = entity.device_info
File "/config/custom_components/hive/light.py", line 55, in device_info
"model": self.device["device_data"]["model"],
KeyError: 'model'
2020-12-05 15:41:21 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up hive platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 207, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 384, in _async_add_entity
device_info = entity.device_info
File "/config/custom_components/hive/sensor.py", line 63, in device_info
"model": self.device["device_data"]["model"],
KeyError: 'model'