Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throwing GatewayException in get_illumination (#831)
* Throwing GatewayException in get_illumination I'm not sure if the GatewayException type is only suitable for SubDevice or is also allowed here, but it is the exception HA expects in this case: https://github.com/home-assistant/core/blob/985e4e1bd942ef4ab56617a77f59baeec10649c5/homeassistant/components/xiaomi_miio/sensor.py#L320:L325 * Fix black validation
- Loading branch information