I have some issues in getting a number passed as a value to a Service call. For testing I created two input_number helpers called input_number.test and input_number.data. I then execute the following service:
You wouldnât be the first person to make that mistake and probably wonât be the last.
Basically the services tab is there to do something ânowâ so if you want to (for example) set the thermostat to 18, then youâre just going to type 18 in the box. Whereas automations and scripts are templated because they occur âwhen triggeredâ rather than ânowâ so you may want 18 or any other number depending on other factors at that time.
(I should add that Iâm not saying I agree with how itâs currently done, just explaining how itâs come to be why it is how it is).
Thanks Marc,
Iâve been running HA for 3+ years, so I should know by now - but I jumped right in to it.
I think it makes sense just to have services like that, as it is easy just to make a script to achieve the templating.