Skip to content

Commit

Permalink
Return unique id of Blink binary sensor (home-assistant#43942)
Browse files Browse the repository at this point in the history
  • Loading branch information
brg468 authored Dec 5, 2020
1 parent 0670124 commit c5adaa1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions homeassistant/components/blink/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ def name(self):
"""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."""
Expand Down

0 comments on commit c5adaa1

Please sign in to comment.