Minor changes to description

Minor changes to description of entities made
This commit is contained in:
RyanClark123
2023-06-15 11:11:06 +01:00
parent 6c2c531a19
commit 3c35d87fd2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ class OwletBinarySensor(OwletBaseEntity, BinarySensorEntity):
"""Initialize the binary sensor.""" """Initialize the binary sensor."""
super().__init__(coordinator) super().__init__(coordinator)
self.entity_description = sensor_description self.entity_description = sensor_description
self._attr_unique_id = f"{self.sock.serial}-{self.entity_description.name}" self._attr_unique_id = f"{self.sock.serial}-{self.entity_description.translation_key}"
@property @property
def is_on(self) -> bool: def is_on(self) -> bool:
+1 -1
View File
@@ -65,7 +65,7 @@
"name": "Sock Diconnected Alert" "name": "Sock Diconnected Alert"
}, },
"sock_off":{ "sock_off":{
"name":"sock_off" "name":"Sock Off"
}, },
"awake":{ "awake":{
"name":"Awake" "name":"Awake"
+1 -1
View File
@@ -65,7 +65,7 @@
"name": "Sock Diconnected Alert" "name": "Sock Diconnected Alert"
}, },
"sock_off":{ "sock_off":{
"name":"sock_off" "name":"Sock Off"
}, },
"awake":{ "awake":{
"name":"Awake" "name":"Awake"