Hello everyone- Maybe the question is silly but I don’t understand why it doesn’t behave as I want.
I have a temperature sensor. I need to turn on two heaters when the temperature is below 28.4 and turn it off when it is above 28.4. The issue is that there are times when it is at 29 and I don’t turn it off or it is at 27 and I never turn it on. Is it ok or is there something wrong with this. Because if it is not this, it could be another problem that I have with the relay board that momentarily loses connection. Thank you very much
####################################################
# #
# Acuario Climate #
# #
####################################################
- alias: "Enciende el calefactor del acuario cuando la temperatura esta debajo 28.3"
trigger:
- platform: numeric_state
entity_id: sensor.temperatura_plantado
below: 28.4
action:
- service: switch.turn_on
target:
entity_id:
- switch.relay_2
- switch.relay_3
- alias: "Apaga el calefactor del acuario cuando la tempera turaesta en 28.5"
trigger:
- platform: numeric_state
entity_id: sensor.temperatura_plantado
above: 28.4
action:
- service: switch.turn_off
target:
entity_id:
- switch.relay_2
- switch.relay_3
1 post - 1 participant