Hue-sensors-HASS
Hue-sensors-HASS copied to clipboard
Feature Request: Make components writable
Right now, all we get out of this component are are sensory. There is no way to change their state within home assistant. Some example :
- Toggle a dimmer switch or motion detection component on/off
- Press one of the buttons
- Change the light/movement thresholds of motion detection
Thx
Hi
I use rest commands to switch the Hue motion detectors on/off via Home Assistant and it works rock solid. With regards to the threshold values: I'm sure one can do it in a similar way.
switch:
- platform: command_line
switches:
floor_sensor_switch:
friendly_name: "Sensors Flur"
command_on: curl -X PUT -d '{"on":true}' "BRIDGEIP/api/APIKEY/sensors/NUMBER/config"
command_off: curl -X PUT -d '{"on":false}' "BRIDGEIP/api/APIKEY/sensors/NUMBER/config"
value_template: "{{ is_state('sensor.flur_motion_sensor', 'on') }}"
I do nearly the same workaround, too. That only allows the on/off command and it is not very end user friendly. Thats the reason I ask for an easy to use solution.
This repo is in maintenance mode only, so no new features I am afraid (from me). I will leave this issue open incase anyone wants to make a PR. Rhanks