core: Got an exception while sending command get_bright

The problem

Hello,

After updating HassOS, I correctly deleted the “Air Purifier” and “Light” integrations from my YAML files, everything is working fine but I get an error message in the logs.

What is version of Home Assistant Core has the issue?

core-2021.4.3

What was the last working version of Home Assistant Core?

core-2021.3.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

xiaomi_miio

Link to integration documentation on our website

https://www.home-assistant.io/integrations/xiaomi_miio

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.xiaomi_miio
Source: components/xiaomi_miio/__init__.py:98
Integration: Xiaomi Miio (documentation, issues)
First occurred: 11:39:53 (1654 occurrences)
Last logged: 13:57:37

Got exception while fetching the state: Got an exception while sending command get_bright

2021-04-10 14:13:37 ERROR (SyncWorker_36) [homeassistant.components.xiaomi_miio] Got exception while fetching the state: Got an exception while sending command get_bright
2021-04-10 14:13:44 ERROR (SyncWorker_6) [homeassistant.components.xiaomi_miio] Got exception while fetching the state: Got an exception while sending command get_bright
2021-04-10 14:13:47 ERROR (SyncWorker_62) [homeassistant.components.xiaomi_miio] Got exception while fetching the state: Got an exception while sending command get_bright
2021-04-10 14:13:54 ERROR (SyncWorker_3) [homeassistant.components.xiaomi_miio] Got exception while fetching the state: Got an exception while sending command get_bright
2021-04-10 14:13:57 ERROR (SyncWorker_7) [homeassistant.components.xiaomi_miio] Got exception while fetching the state: Got an exception while sending command get_bright

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 48 (24 by maintainers)

Most upvoted comments

All commands are working fine 😃

- light.on()
- light.off()
- light.set_color_temp(300)
- light.set_color_temp(153)
- light.set_color_temp(500)
- light.set_brightness(50)

@xekil briljant! That is all that we need, light.get_property_exp(['power_status', 'light_level', 'colour_temperature']) works. I will start the PR to fix the light.