Select Git revision
humidifier_settings.yaml
humidifier_settings.yaml 732 B
sensor:
- platform: template
name: "humidifier_max"
lambda: return atoi(id(humidifier_max).state.c_str());
internal: true
- platform: template
name: "humidifier_min"
lambda: return atoi(id(humidifier_min).state.c_str());
internal: true
select:
- platform: template
id: humidifier_max
name: "Humidifier: Humidity Off"
options: ["40", "45", "50", "55", "60", "65", "70", "75", "80", "85"]
initial_option: "75"
optimistic: true
restore_value: true
- platform: template
id: humidifier_min
name: "Humidifier: Humidity On"
options: ["30", "35", "40", "45", "50", "55", "60", "65", "70", "75", "80"]
initial_option: "60"
optimistic: true
restore_value: true