Skip to content

1.6.0

Latest

Choose a tag to compare

@Leggin Leggin released this 23 Oct 16:07

What's Changed

  • Add color_mode to lights and make motion sensor is_on optional by @Leggin in #148

Lights now expose the hub's colorMode as attributes.color_mode ("temperature" or "color"), kept up to date by set_color_temperature() and set_light_color(). Motion sensors that do not report isOn, such as MYGGSPRAY, now parse with is_on set to None.

Note for type-checked code: MotionSensorAttributes.is_on is now Optional[bool].

Full Changelog: v1.5.0...v1.6.0