Im attempting to write an Automation that triggers when the AC has been on for over 10 minutes I get a
Message malformed: extra keys not allowed @ data[‘for’]
I am using HA 2024.4.4 installed as image ontop of Proxmox.
Config:
alias: XFAN - Work Room AC
description: >-
Runs the fan of the AC after it has been powered on for more than 10 minutes
to dry it.
trigger:
- platform: device
device_id: 521e85e6a5de6f8d0c6fe66fb8e8922f
domain: climate
entity_id: bb08d49e3579cd433bb11cccb25afa2e
type: hvac_mode_changed
to: cool
for:
hours: 0
minutes: 10
seconds: 0
condition: []
action:
- wait_for_trigger:
- platform: device
device_id: 521e85e6a5de6f8d0c6fe66fb8e8922f
domain: climate
entity_id: bb08d49e3579cd433bb11cccb25afa2e
type: hvac_mode_changed
to: "off"
continue_on_timeout: false
- device_id: 521e85e6a5de6f8d0c6fe66fb8e8922f
domain: climate
entity_id: bb08d49e3579cd433bb11cccb25afa2e
type: set_hvac_mode
hvac_mode: fan_only
- service: climate.set_fan_mode
metadata: {}
data:
fan_mode: High
target:
device_id: 521e85e6a5de6f8d0c6fe66fb8e8922f
- delay:
hours: 0
minutes: 3
seconds: 0
milliseconds: 0
- service: climate.set_fan_mode
metadata: {}
data:
fan_mode: Low
target:
device_id: 521e85e6a5de6f8d0c6fe66fb8e8922f
- device_id: 521e85e6a5de6f8d0c6fe66fb8e8922f
domain: climate
entity_id: bb08d49e3579cd433bb11cccb25afa2e
type: set_hvac_mode
hvac_mode: "off"
mode: single