Salut à tous depuis quelques version de HA j’ai cette erreur quand je veux l’exécuter.
Logger: homeassistant.components.automation.ip_change
Source: components/automation/init.py:514
Integration: Automatisation (documentation, issues)
First occurred: 2 février 2022, 23:51:49 (2 occurrences)
Last logged: 2 février 2022, 23:55:50
Error while executing automation automation.ip_change: Error rendering data template: UndefinedError: ‹ dict object › has no attribute ‹ from_state ›
alias: IP change
trigger:
- platform: state
entity_id: sensor.myip
action:
- service: notify.smtp
data:
message: >-
Public IP changed from {{ trigger.from_state.state }} to {{
trigger.to_state.state }}
title: Home Assistant Alerte
initial_state: true