I’m trying to create a timer automation for my infrared vacuum cleaner.
I want to choose how long it takes to execute a command to start the vacuumcleaner.
After some googleing i found some code, but there is missing something.
The code is missing what had to happen when the timer is finished, where do i place that code?
This is what i’ve go so far:
First line: execute the command right now
Second line: status of the vacuum
Third line: switch to turn on the timer
Fourth line: slider to fill in the minutes for the timer
Fifth line: how many minutes remaining from the timer.
Thanks, changed it in the config.
When i execute the “start timer” automation nothing happens.
When i execute the stop timer, the harmony would have to do his trick imediatly isn’t it?
He doens’t do anything…
That’s the strange thing, if i click on “Logboek” in the left menu nothing loads.
In my configuration i’ve got the code “logger:” but HA doen’t log anything it seams…
This is what i see at developer tools > “sjablonen (= templates?!)”
- alias: Timer start
trigger:
platform: state
entity_id: input_boolean.stofzuigen
to: 'on'
action:
service: timer.start
entity_id: timer.stofzuigen_tijd
data_template:
duration: "0"
Don’t even know why i have to use a boolean for a timer…