Hue-sensors-HASS icon indicating copy to clipboard operation
Hue-sensors-HASS copied to clipboard

Feature Request: Make components writable

Open lweberru opened this issue 4 years ago • 3 comments

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

lweberru avatar Jul 13 '19 09:07 lweberru

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') }}"

Kugelfang666 avatar Jul 14 '19 09:07 Kugelfang666

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.

lweberru avatar Jul 15 '19 06:07 lweberru

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

robmarkcole avatar Jul 17 '19 04:07 robmarkcole