1
0
Fork 0

Try other dehumidifier control

This commit is contained in:
Malte Brandy 2022-01-05 11:28:12 +01:00
parent beee362aaa
commit 33122a9b6f

View file

@ -111,24 +111,14 @@ in
conditions = [{
condition = "or";
conditions = [
{ condition = "numeric_state"; entity_id = "sensor.schlafzimmer_humidity"; below = 69; }
{ condition = "numeric_state"; entity_id = "sensor.schlafzimmer_humidity"; below = 65; }
{ condition = "state"; entity_id = "binary_sensor.schlafzimmerfenster"; state = "on"; }
];
}
{
condition = "or";
conditions = [
{ condition = "numeric_state"; entity_id = "sensor.schlafzimmer_humidity"; below = 65; }
{ condition = "state"; entity_id = "binary_sensor.schlafzimmerfenster"; state = "on"; }
(conditions.modeIs modes.schlafzimmer "active")
(conditions.modeIs modes.schlafzimmer "force-active")
(conditions.modeIs modes.schlafzimmer "empty")
];
}];
}];
sequence = { service = "switch.turn_off"; target.entity_id = "switch.luftentfeuchter"; };
}
{
conditions = [{ condition = "numeric_state"; entity_id = "sensor.schlafzimmer_humidity"; above = 70; }];
conditions = [{ condition = "numeric_state"; entity_id = "sensor.schlafzimmer_humidity"; above = 66; }];
sequence = { service = "switch.turn_on"; target.entity_id = "switch.luftentfeuchter"; };
}
];