Closed michikrug closed 8 months ago
As stated in https://developers.home.google.com/cloud-to-cloud/traits/fanspeed#device-attributes there is now a new option called supportsFanSpeedPercent that should be set to true if no speeds are defined.
supportsFanSpeedPercent
This PR adds this option in case the devices is coming from a Dimmer item and does not provide a speeds config.
Dimmer
speeds
To actually set the speed in percent, the new command SetFanSpeed with the parameter fanSpeedPercent is added.
fanSpeedPercent
This is also reflected in the state reporting that now either reports the percentage or settings value.
As stated in https://developers.home.google.com/cloud-to-cloud/traits/fanspeed#device-attributes there is now a new option called
supportsFanSpeedPercent
that should be set to true if no speeds are defined.This PR adds this option in case the devices is coming from a
Dimmer
item and does not provide aspeeds
config.To actually set the speed in percent, the new command SetFanSpeed with the parameter
fanSpeedPercent
is added.This is also reflected in the state reporting that now either reports the percentage or settings value.