No it isn’t… Have stopped trying that, and added many full lines to the secrets file. It has the nice effect of compact configuration files, and easy to copy secrets.
I have 11 sensors…
please create a PR for this! if it is that simple, no reason not too? Maybe you’d be willing to see if the day and night times of the sensors would be just as easy? I’d really need those…
about the commands: couldn’t you use a variable for id too? that why you could
1- set sensitivity,
2- set id, and
3- hit execute.
somewhat like my set hue scene setup:
hue_light_control:
name: Hue Light Control
icon: mdi:spotlight
control: hidden
entities:
- input_select.hue_scenes
- input_select.hue_groups
- script.set_hue_scene
and script ( in your case rest command)
script:
set_hue_scene:
alias: Set Hue scene
sequence:
service: hue.hue_activate_scene
data_template:
group_name: >
{{ states('input_select.hue_groups')}}
scene_name: >
{{ states('input_select.hue_scenes')}}
no need for automation and time to reconsider if you change your mind before executing ![]()