* Updgrae blinkpy to 0.10.0 - Remove status sensor (API endpoint unreliable for this) - Wifi strength reports in wifi bars rather than dBm (result of new API endpoint) - Added unique ids based on serial number * Update requirements
This commit is contained in:
1 parent
11004bcf34
commit
5088e7ee49
6 files changed
+26
-9
No files matched your search
@@ -43,12 +43,18 @@ class BlinkSensor(Entity):
|
||||
self._state = None
|
||||
self._unit_of_measurement = units
|
||||
self._icon = icon
|
||||
self._unique_id = "{}-{}".format(self._camera.serial, self._type)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the camera."""
|
||||
return self._name
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
"""Return the unique id for the camera sensor."""
|
||||
return self._unique_id
|
||||
|
||||
@property
|
||||
def icon(self):
|
||||
"""Return the icon of the sensor."""
|
||||
|
||||
Reference in new issue
Block a user