Update led brightness select state only if valid data is available, Xiaomi Miio integration (#57197)
Update led brightness select state only if valid data is available, Xiaomi Miio integration (#57197)

* Update state if there is valid data

* Add comment
w1ll1am23/home-assistant,nkgilley/home-assistant,GenericStudent/home-assistant,rohitranjan1991/home-assistant,nkgilley/home-assistant,w1ll1am23/home-assistant,rohitranjan1991/home-assistant,jawilson/home-assistant,mezz64/home-assistant,toddeye/home-assistant,GenericStudent/home-assistant,home-assistant/home-assistant,jawilson/home-assistant,rohitranjan1991/home-assistant,toddeye/home-assistant,home-assistant/home-assistant,mezz64/home-assistant