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

Error in script?

$
0
0

@maurizio53 wrote:

Can someone explain me what is wrong in this script?

script:
  check_gdrive_successful:
    sequence:
    - service: notify.telegram
      data_template:
        title: '**-- GDrive Backup HASSIO --**'        
        message: &check_sync >-
          {% if is_state("input_boolean.gdrive_sync_completed", "off")  -%}
            ERRORE nel Gdrive backup!
          {%- else -%}
            Backup su GDrive completato alle {{states('sensor.time')}}
          {%- endif %}

I get NO notification from telegram bot.

Posts: 8

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



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