I have a helper called washingmachine_maxpower with entity id : input_number.washingmachine_maxpower.
Washing machine is connnected to power with a fibaro zwave wll plug. The plug is rated for 2500 W max. It looks like the washing machine draws more than this in short moment, but the plug isnt’t warm or shuts down. I want to store max power drawn in a sensor so I can see how much the machine draws. I have made the following automation but it fails. Any ides how I can solve this?
- id: washingmachine_maxpower
alias: 'Washing Macjine - Max power'
description: ''
trigger:
- above: input_number.washingmachine_maxpower
entity_id: sensor.fibaro_system_fgwpe_f_wall_plug_gen5_power
platform: numeric_state
action:
- alias: ''
data_template:
entity_id: input_number.washingmachine_maxpower
value: '{{ state_attr(''sensor.fibaro_system_fgwpe_f_wall_plug_gen5_power'') }}'
service: input_number.set_value
I get the following error:
Logger: homeassistant.config
Source: config.py:413
First occurred: 13:29:01 (1 occurrences)
Last logged: 13:29:01
Invalid config for [automation]: expected float for dictionary value @ data[‘above’]. Got None. (See /config/configuration.yaml, line 13).