bwssytems/ha-bridge

Home Assistant Z-Wave Fan Speed

jay2theb opened this issue · 2 comments

I am trying to use HA Bridge to set the fan speed of a ceiling fan, connected to a in wall Z-Wave fan controller via Z-Wave-js-ui and HomeAssistant.

Using the following call in HA-Bridge (that is correct as far as I can tell) only results in the device being switched on. I have tried both with and without the "state":"on" options.

{"entityId":"fan.rebekah_s_fan","hassName":"HAZion","state":"on","percentage":"${intensity.byte}"}

Via curl, this call works with no issue

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer (API KEY)" -d '{"entity_id": "fan.rebekah_s_fan", "percentage": 93}' http://home-assistant-ip:8123/api/services/fan/set_percentage

I am running HA bridge 5.4.0 - is there something I'm doing wrong here?

I also suspect that if I could some how configure home assistant to treat the fan controller as a dimmable light, that the built in call via HA Bridge ( {"entityId":"fan.rebekah_s_fan","hassName":"HAZion","state":"on","bri":"${intensity.byte}"} ) would work out of the box. Although I can't seem to figure out if this is even possible

https://www.home-assistant.io/integrations/switch_as_x does not work for me because this device does not present as a switch