natekspencer / hacs-vivint

Home Assistant integration for a Vivint home security system.
MIT License
64 stars 3 forks source link

Regression with support for light brightness in 2023.3.1 #96

Closed GaryGSC closed 1 year ago

GaryGSC commented 1 year ago

After updating from v2023.3.0 to v2023.3.1, my lights no longer support brightness controls.

State attributes for my can lights using 2023.3.0:

supported_color_modes:
  - brightness
color_mode: brightness
brightness: 130
icon: mdi:light-recessed
friendly_name: Can Lights
supported_features: 1

State attributes for my can lights using 2023.3.1:

supported_color_modes:
  - onoff
color_mode: onoff
icon: mdi:light-recessed
friendly_name: Can Lights
supported_features: 0

This appears to be the relevant code change.

GaryGSC commented 1 year ago

I'm using the latest stable versions of Home Assistant:

Home Assistant 2023.3.3 Supervisor 2023.03.1 Frontend 20230309.0 - latest