Door sensor states
Better Thermostat expects the configured door sensor to behave like a binary sensor:
on,trueoropen— door is open, heating pausesoff,falseorclosed— door is closed, heating resumesunknownorunavailable— counts as closed so heating continues: doors are usually closed and a lost sensor (e.g. a dead battery) must not stop heating. The unavailability is still reported. A sensor removed from Home Assistant (disabled, deleted or renamed in the entity registry) counts as closed in the same way.
If the sensor reports anything else, Better Thermostat raises an invalid door sensor state repair issue and ignores the state change.
Common causes
Section titled “Common causes”- The configured entity is not a binary sensor — for example a numeric
sensor, an input helper with custom values, or a template that returns
something other than
on/off. - A group helper that aggregates non-binary entities.
How to fix it
Section titled “How to fix it”-
Check the sensor’s actual state under Developer tools → States.
-
Use a
binary_sensor(device classdoor/opening), or combine several door contacts into a Binary sensor group helper under Settings → Devices & Services → Helpers → + Create Helper → Group → Binary sensor group (leave “All entities” Off). If you prefer YAML:binary_sensor:- platform: groupname: "Hallway Doors"device_class: doorall: falseentities:- binary_sensor.frontdoor_contact- binary_sensor.balcony_contact -
If you template your own sensor, make sure it only ever renders
onoroff.
Door and window sensors are independent
Section titled “Door and window sensors are independent”Doors are configured separately from windows and carry their own delays, Delay before the thermostat should turn off when the door is opened and its counterpart for closing. A hallway door that is opened briefly and often is usually given a longer opening delay than a window, so short passages do not interrupt heating.
Both contacts suppress heating on the same terms, and they combine: heating resumes only once every configured contact reports closed. See Window sensor states for the window side.
The Window Detection switch covers doors as well: turned off, neither the window nor the door sensor affects the heating. See Turning window detection off.