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

Extra key not allowed on notify action

$
0
0

Hi,

I get this error in the log :

Logger: homeassistant.components.automation.sensor_garagedeur_stuurt_notificatie
Source: components/automation/__init__.py:738
integration: Automation (documentation, issues)
First occurred: 18:39:32 (1 occurrences)
Last logged: 18:39:32

Error while executing automation automation.sensor_garagedeur_stuurt_notificatie: extra keys not allowed @ data['ttl']

This is my code :

          - data:
              message: >-
                Bezoek aan de garagedeur om {{ now().strftime("%d/%-m/%-Y om
                %H:%M:%S") }}
              data:
                ttl: 0
                priority: high
                channel: alarm_stream
                clickAction: /lovelace-mushroom/security-garagedoor
                image: /local/tmp/snapshot-garagedeur.jpg
                entity_id: camera.camera_garagedeur_substream
                actions:
                  - action: URI
                    title: Camera's
                    uri: /lovelace-mushroom/security
                  - action: NOTI_UIT15
                    title: 15 min uit
                  - action: NOTI_UIT
                    title: Uitschakelen
            action: notify.notification_devices

If I delete the “ttl = 0” I get an error in the log for the “priority: high”.

I just want to get the notification immediately on my android phone…what should I mention ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107662

Trending Articles



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