Hi, ik like to make my wasmachine script from domoticz in Hass.
When the power change from 0.6 to higher it is running…
Sometimes the usage drops to 0.6 but after minitues it grows again…
But after sat 5 minutes on 0.6 it is read…
I made my first attempt self, but i know this isnt ok, need some help!
To complex for a fresh new HASS user
alias: wasmachine_waarde
description: ""
trigger:
- platform: state
entity_id:
- sensor.wasmachine_power
condition: null
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.wasmachine_power
above: 0.5
sequence:
- service: input_text.set_value
data:
value: Draait
target:
entity_id: input_text.wasmachine_status
- conditions:
- condition: numeric_state
entity_id: sensor.wasmachine_power
below: 0.5
- condition: state
entity_id: input_text.wasmachine_status
state: Draait
sequence:
- service: input_text.set_value
data:
value: Lager
target:
entity_id: input_text.wasmachine_status
- conditions:
- condition: numeric_state
entity_id: sensor.wasmachine_power
below: 0.5
- condition: state
entity_id: input_text.wasmachine_status
state: Lager
for:
minutes: 5
sequence:
- service: input_text.set_value
data:
value: Klaar
target:
entity_id: input_text.wasmachine_status
type or paste code here