mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Return unique id of Blink binary sensor (#43942)
This commit is contained in:
parent
0670124e8d
commit
c5adaa1f5c
@ -44,6 +44,11 @@ class BlinkBinarySensor(BinarySensorEntity):
|
|||||||
"""Return the name of the blink sensor."""
|
"""Return the name of the blink sensor."""
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def unique_id(self):
|
||||||
|
"""Return the unique id of the sensor."""
|
||||||
|
return self._unique_id
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_class(self):
|
def device_class(self):
|
||||||
"""Return the class of this device."""
|
"""Return the class of this device."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user