mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Update pyatmo to 3.2.2 and add available attribute (#30882)
* Update pyatmo to 3.2.1 * Update pyatmo to 3.2.2 * Remove accidentally added requirements * Add availability property
This commit is contained in:
parent
d63ea198f2
commit
da368f0cb8
@ -3,7 +3,7 @@
|
||||
"name": "Netatmo",
|
||||
"documentation": "https://www.home-assistant.io/integrations/netatmo",
|
||||
"requirements": [
|
||||
"pyatmo==3.2.0"
|
||||
"pyatmo==3.2.2"
|
||||
],
|
||||
"dependencies": [
|
||||
"webhook"
|
||||
|
@ -427,6 +427,11 @@ class NetatmoPublicSensor(Entity):
|
||||
"""Return the unit of measurement of this entity."""
|
||||
return self._unit_of_measurement
|
||||
|
||||
@property
|
||||
def available(self):
|
||||
"""Return True if entity is available."""
|
||||
return bool(self._state)
|
||||
|
||||
def update(self):
|
||||
"""Get the latest data from Netatmo API and updates the states."""
|
||||
self.netatmo_data.update()
|
||||
|
@ -1137,7 +1137,7 @@ pyalmond==0.0.2
|
||||
pyarlo==0.2.3
|
||||
|
||||
# homeassistant.components.netatmo
|
||||
pyatmo==3.2.0
|
||||
pyatmo==3.2.2
|
||||
|
||||
# homeassistant.components.atome
|
||||
pyatome==0.1.1
|
||||
|
@ -399,7 +399,7 @@ pyalmond==0.0.2
|
||||
pyarlo==0.2.3
|
||||
|
||||
# homeassistant.components.netatmo
|
||||
pyatmo==3.2.0
|
||||
pyatmo==3.2.2
|
||||
|
||||
# homeassistant.components.blackbird
|
||||
pyblackbird==0.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user