samhunt / homebridge-esphome-ts

This plugin integrates your esphome devices into HomeKit!
GNU General Public License v3.0
4 stars 2 forks source link

Color color mode is being detected improperly #10

Open pshanesmith opened 5 months ago

pshanesmith commented 5 months ago

This is an example output of light state when querying to web api of an esphome device.

{"id":"light-esphome-dimmer-3c2e27_dimmer","state":"OFF","color_mode":"brightness","brightness":255,"color":{}}

The color mode of "brightness" is supposed to only present the option of adjusting brightness, but it is being interpreted as an RGB light. I haven't been able to track down where this misinterpretation is just yet.