Return unique id of Blink binary sensor (#43942)
This commit is contained in:
committed by
Franck Nijhof
parent
46b13e20ac
commit
bf6bd969a2
@@ -44,6 +44,11 @@ class BlinkBinarySensor(BinarySensorEntity):
|
||||
"""Return the name of the blink sensor."""
|
||||
return self._name
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Return the unique id of the sensor."""
|
||||
return self._unique_id
|
||||
|
||||
@property
|
||||
def device_class(self):
|
||||
"""Return the class of this device."""
|
||||
|
||||
Reference in New Issue
Block a user