glc650
September 22, 2021, 10:36pm
1
automation nixie_clock:
- alias: "Nixie clock"
trigger:
- platform: device
type: turned_on
device_id: 1dbb489f4d2eda53e71998d9c2c561ec
entity_id: remote.living_room_harmony
domain: remote
condition:
- condition: state
entity_id: input_boolean.nixie_clock
state: "off"
action:
- service: remote.send_command
data:
device: Nixie IN-8-2
command: PowerToggle
target:
device_id: 1dbb489f4d2eda53e71998d9c2c561ec
- service: input_boolean.turn_on
target:
entity_id: input_boolean.nixie_clock
If input_boolean.nixie.clock is on
the actions in this automation still fire. What am I missing?
I have tried it as a trigger and that works so I know the input_boolean itself is working.
tom_l
September 23, 2021, 2:30am
2
What does the automation trace show?
123
(Taras)
September 23, 2021, 2:55am
3
How are you testing the automation?
If you are executing the automation manually (either by clicking the Run Actions button or by via the automation.trigger
service) it skips the automation’s trigger
and condition
and simply executes the action
.
glc650
September 23, 2021, 8:00pm
4
Nothing regarding the condition. It just never hits on the condition.
glc650
September 23, 2021, 8:02pm
5
That might be it let me try creating simpler automation/test and see what happens.
123
(Taras)
September 23, 2021, 8:21pm
6
glc650:
That might be it
You should review this section of the documentation: Testing Your Automation
If you want to execute automation.nixie_clock
manually and test its condition
then you can do it like this:
Go to Developer Tools > Services
Select Automation: Trigger
Click Pick Entity and select your automation.
Enable the Skip Conditions checkbox and then disable the toggle button.
Click the Call Service button.
1 Like
glc650
September 24, 2021, 5:11pm
7
Thanks for the tip.
Seems to be working now so I guess that was it.
123
(Taras)
September 24, 2021, 5:12pm
8
Glad to hear it works now.
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions.