Commit fc7b92b
authored
Ignore unavailable and unknown states (pnbruckner#31)
Some device trackers (especially the newer entity-based variety, like Life360 just became in 2022.7) and binary sensors can temporarily have unavailable or unknown states. If this is true on two consecutive updates for an entity the composite tracker will stop listening to it.
This change causes the composite tracker to ignore unavailable and unknown states of the input entities, similar to what the Person integration does.1 parent 3e9cc0d commit fc7b92b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
175 | | - | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
0 commit comments