We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e66bf commit e555d0cCopy full SHA for e555d0c
1 file changed
custom_components/label_state/binary_sensor.py
@@ -352,7 +352,7 @@ def _calc_state(self) -> None:
352
353
if (entity_state and self._state_from and self._state_to) and (
354
entity_state.casefold() == self._state_from.casefold()
355
- or entity_state.casefold() == self._state_to.casefold()
+ and entity_state.casefold() == self._state_to.casefold()
356
):
357
state_is_on = True
358
else:
0 commit comments