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 9f8dda4 commit 112aea7Copy full SHA for 112aea7
custom_components/battery_notes/device.py
@@ -85,10 +85,7 @@ async def async_setup(self) -> bool:
85
for entity in entity_registry.entities.values():
86
if not entity.device_id or entity.device_id != device_id:
87
continue
88
- if not entity.domain or entity.domain not in {
89
- BINARY_SENSOR_DOMAIN,
90
- SENSOR_DOMAIN,
91
- }:
+ if not entity.domain or entity.domain != SENSOR_DOMAIN:
92
93
if not entity.platform or entity.platform == DOMAIN:
94
0 commit comments