I have an input text entity that won’t change its state based on a power consumption value. Its identical to the typical washing machine alerting that people do, when the machine draws so many “watts” its state changes from idle to washing for example. This is for my Pool and I have 2 entities driven by power consumption, the 1st one for the Pool Pump which is working as intended - below 400 watts the pump is “Idle” above 535 watts the Pool Pump is “Running” and this works great. I then have my
chlorine generator which cuts in and out when the pump is running so the watts increase & decrease ontop of the constant pump value but this never changes its state it remains idle all the time. I can run the action manually and it works but not on its own.
I used a text helper to make the pump and chlorine entities then 2 automations one for the idle state and one for the Generating state.
Any ideas.
(hopefully conveyed this well enough !)
id: '1632793952169'
alias: Chlorine Generator - Idle
description: ''
trigger:
- type: value
platform: device
device_id: b5ff87bc6ee099a21487fd8054958717
entity_id: sensor.6c_pool_watts_2
domain: sensor
below: 560
condition: []
action:
- service: input_text.set_value
data:
value: Idle
target:
entity_id: input_text.chlorine_generator
mode: single
id: '1632794036584'
alias: Chlorine Generator - ON
description: ''
trigger:
- type: value
platform: device
device_id: b5ff87bc6ee099a21487fd8054958717
entity_id: sensor.6c_pool_watts_2
domain: sensor
above: 570
condition: []
action:
- service: input_text.set_value
target:
entity_id: input_text.chlorine_generator
data:
value: Generating
mode: single