Return unique id of Blink binary sensor (#43942)

pull/43963/head
Brian Rogers 2020-12-05 05:32:49 -05:00 committed by GitHub
parent 0670124e8d
commit c5adaa1f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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."""