Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106618

Issue with automation error reporting?

$
0
0

I got a persistent notification after changing an automation, which references just one automation’s title
Screenshot 2024-12-19 at 11.54.10
but then subsequent text refers to the content of a completely different automation:

Screenshot 2024-12-19 at 11.55.31

Screenshot 2024-12-19 at 11.55.15

the automation it’s moaning about doesn’t refer to that input_boolean at all

  - alias: "Monitor DFPlayer State Attic"
    trigger:
      - platform: event
        event_type: call_service
        event_data:
          domain: esphome
          service: atticesp_dfplayer_play_folder
    variables:
      initial_state: "{{ states('binary_sensor.dfplayer_attic_state') }}"
    action:
      - choose:
          - conditions:
              - condition: template
                value_template: "{{ initial_state == 'off' }}"
            sequence:
              - wait_for_trigger:
                  - platform: state
                    entity_id: binary_sensor.dfplayer_attic_state
                    to: "on"
                timeout: 5
                continue_on_timeout: true
              - choose:
                  - conditions:
                      - condition: template
                        value_template: "{{ wait.completed == false }}"
                    sequence:
                      - service: persistent_notification.create
                        data:
                          title: "DFPlayer Warning"
                          message: "Attic DFPlayer State did not respond"
                      - service: notify.telegram
                        data:
                          message: "Attic DFPlayer State did not respond"
          - conditions:
              - condition: template
                value_template: "{{ initial_state == 'on' }}"
            sequence:
              - wait_for_trigger:
                  - platform: state
                    entity_id: binary_sensor.dfplayer_attic_state
                timeout: 5
                continue_on_timeout: true
              - choose:
                  - conditions:
                      - condition: template
                        value_template: "{{ wait.completed == false }}"
                    sequence:
                      - service: persistent_notification.create
                        data:
                          title: "DFPlayer Warning"
                          message: "Attic DFPlayer State did not respond to new file request"
                      - service: notify.telegram
                        data:
                          message: "Attic DFPlayer State did not respond to new file request"

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>