Hallo,
ich habe heute anhand des Videos von Simon versucht meine Waschmaschine Smart zu machen. Ich benutzte aber nicht wie im Video gezeigt die Home Connect Integration sondern die Home Connect Alt aus HACS.
YAML-Code der Automatiion
alias: Waschmaschine Automation
description: “”
trigger:
- platform: device
domain: mqtt
device_id: 53fe8a808290627b2c6b34d0f7646505
type: action
subtype: single
alias: Wäsche starten gedrückt
condition:
action: - choose:
- conditions:
- condition: template
value_template: >-
{{ as_timestamp(states(“sensor.power_highest_peak_time_today”)) >=
as_timestamp(now()) }}
sequence: - service: input_datetime.set_datetime
data:
timestamp: >-
{{ as_timestamp(states(‘sensor.power_highest_peak_time_today’))
}}
target:
entity_id: input_datetime.nachste_startzeit_waschmaschine
- condition: template
- conditions:
- condition: or
conditions:- condition: numeric_state
entity_id: sensor.energy_current_hour
above: 0.3 - condition: numeric_state
entity_id: sensor.energy_next_hour
above: 0.3 - condition: numeric_state
entity_id: sensor.balkonkraftwerk_power
above: 300
sequence:
- condition: numeric_state
- service: input_datetime.set_datetime
data:
timestamp: “{{ now().timestamp() }}”
target:
entity_id: input_datetime.nachste_startzeit_waschmaschine
default:
- condition: or
- service: input_datetime.set_datetime
data:
timestamp: >-
{{ as_timestamp(states(‘sensor.power_highest_peak_time_tomorrow’))
}}
target:
entity_id: input_datetime.nachste_startzeit_waschmaschine
- conditions:
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
enabled: true - service: home_connect_alt.start_program
data:
validate: true
device_id: 785add18049d62dd481921114e40383e
program_key: LaundryCare.Washer.Program.Mix
options:
“[object Object]”: null
mode: single
Leider bekomme ich immer diesen Fehler:
hat vielleicht jemand eine Idee was ich falsch mache?
vielen dank schonmal im vorraus für eure Hilfe.