BTW, I’ve tried to add this lamp as philips.light.bulb and xiaomi_miio integration. Get the following error:
Logger: homeassistant.components.light
Source: components/xiaomi_miio/light.py:525
Integration: Освітлення (documentation, issues)
First occurred: 16:00:56 (1 occurrences)
Last logged: 16:00:56
xiaomi_miio: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 470, in async_device_update
await self.async_update()
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/light.py", line 525, in async_update
self._brightness = ceil((255 / 100.0) * state.brightness)
TypeError: can't multiply sequence by non-int of type 'float'