What am i missing?
if i run this action in the editor
it works happy camper
if I run it hole automation it does not say anything
here the full automation
alias: Toggle the Feed the Fish
triggers:
- entity_id: sensor.last_rf
trigger: state
to: "112691"
conditions: []
actions:
- action: tts.google_say
data:
entity_id: media_player.livingdisplay
message: >-
OK. They were Fed {{ states('sensor.days_last_feed') }} and its
temperature is {{ states('sensor.feeder_ds18b20_temperature')}} .. {%-
if states('sensor.days_last_feed') != 'Today' %} feed them {{
states('input_select.fish_fed.state') }} today .. {% else %} they werent
feed! {{ states('input_select.fish_fed')}} today .. {% endif %}
- if:
- condition: state
entity_id: sensor.days_last_feed
state: Today
then: []
else:
- action: input_select.select_next
metadata: {}
data:
cycle: true
target:
entity_id: input_select.fish_fed
- action: input_datetime.set_datetime
data_template:
entity_id: input_datetime.fish_feed
datetime: "{{ now() }}"
- action: cast.show_lovelace_view
data:
entity_id: media_player.livingdisplay
view_path: fish
- data:
entity_id: switch.feeder
action: switch.toggle
initial_state: true
here the trace
it look like it ran by the trace
Yes I know the automation ran
as the switch.feeder was toggled and the screen displayed the right screen
just need other set of eye’s over the automation.