Files
hassos_config/esphome/common/waterpump.yaml
2023-06-29 16:14:36 +02:00

25 lines
453 B
YAML
Executable File

---
switch:
- platform: gpio
pin: GPIO19
name: 'Water Pump'
id: water
climate:
- platform: bang_bang
visual:
min_temperature: 0
max_temperature: 100
temperature_step: 1
name: ${device_name} Regler
sensor: ${device_name}_moisture
default_target_temperature_low: 20
default_target_temperature_high: 70
heat_action:
- switch.turn_on: water
idle_action:
- switch.turn_off: water