I am sure I have some sort of format error. Just not seeing it. First I tested using the developers call service. This worked.
Now here is my YAML config:
- alias: change_air_filter_reminder_send
trigger:
- platform: state
entity_id: sensor.change_air_filter_send_message
to: 'on'
action:
# - service: notify.textalertspaul
# data:
# title: 'Change Air Filter'
# message: 'The message is a reminder'
- service: input_datetime.set_datetime
entity_id: input_datetime.change_air_filter_send_message
#datetime: "{{(now() + 90).strftime('%Y-%m-%d %H:%M:%S.000')}}"
datetime: '2019-04-22 14:00:02'
The error message is:
Again, it must be a YAML formatting issue, I just don’t see it.
BTW, the goal is to send a text and reset the timer for another reminder until a switch is turned off. If I run the service (“YAML”) with just the text it works. So now I am trying to update the input.datetime of the next message. Once I get the literal working then I will move to the template to add time for the next reminder.
@anon43302295 Thanks. That did it. This is my first adventure into HA automation. All the ones I have done so far was in AppDaemon in python. The nuance of the syntax and how to translate from the developer tools. Live and learn. Let me restate to see if I am clear. After the service name to be called, there will be either data or data_template. Here is what confused me. I had an automation that turned on/off the reminder automation. Its entity was under service. So that is what confused me.