custom_components/whatsapp_bridge_integration/sensor.py aktualisiert
0.2.3
This commit is contained in:
@@ -93,7 +93,7 @@ class WhatsAppBroadcastEntity(SensorEntity):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def device_info(self) -> DeviceInfo:
|
def device_info(self) -> DeviceInfo:
|
||||||
"""Ordnet diese Entität dem zentralen Hub-Gerät zu."""
|
"""Ordnet diese Entität dem permanenten, zentralen Hub-Gerät zu."""
|
||||||
return DeviceInfo(
|
return DeviceInfo(
|
||||||
identifiers={(DOMAIN, "global_bridge_hub")},
|
identifiers={(DOMAIN, "global_bridge_hub")},
|
||||||
)
|
)
|
||||||
@@ -145,7 +145,7 @@ class WhatsAppStatusSensor(SensorEntity):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def device_info(self) -> DeviceInfo:
|
def device_info(self) -> DeviceInfo:
|
||||||
"""Ordnet diese Entität dem zentralen Hub-Gerät zu."""
|
"""Ordnet diese Entität dem permanenten, zentralen Hub-Gerät zu."""
|
||||||
return DeviceInfo(
|
return DeviceInfo(
|
||||||
identifiers={(DOMAIN, "global_bridge_hub")},
|
identifiers={(DOMAIN, "global_bridge_hub")},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user