@swollef wrote:
I am attempting to create an automation that picks up when the washing machine wattage goes over 10
im trying to use the value_template as per the automation trigger docs
trigger: entity_id: sensor.tumble_dryer_power platform: state value_template: "{{ sensor.tumble_dryer_power.replace(' W','')|float }}" to: 'above: 10'
im constantly getting the following error:
Message malformed: extra keys not allowed @ data['trigger'][0]['value_template']
ive tried changing sensor. to state. within the value_template but this seems to make no difference to the error I receive
any help appreciated as always (still only in my second week with HA)
Posts: 11
Participants: 4