This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Entity State Not | |
description: Sync the states of two groups of entities so that Group 1 != Group 2 | |
domain: automation | |
input: | |
group1: | |
name: Entity Group 1 | |
selector: | |
entity: | |
multiple: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# declarations | |
import datetime | |
from collections import defaultdict | |
thermostat_states = defaultdict(dict) | |
thermostat_triggers = [] | |
# globals - alter to suit | |
heating_switch = "switch.boiler_room_boiler_switch_1" | |
heating_schedule = "schedule.central_heating_schedule" | |
heating_override = "input_boolean.central_heating_override" |