Bump pyatmo version to 2.3.2 (#27731)
* Bump pyatmo version to 2.3.2 * Add reachable attribute * Add reachable attributepull/27737/head
parent
ec78821161
commit
14d3b9b8f9
|
@ -3,7 +3,7 @@
|
|||
"name": "Netatmo",
|
||||
"documentation": "https://www.home-assistant.io/integrations/netatmo",
|
||||
"requirements": [
|
||||
"pyatmo==2.2.1"
|
||||
"pyatmo==2.3.2"
|
||||
],
|
||||
"dependencies": [
|
||||
"webhook"
|
||||
|
|
|
@ -80,6 +80,7 @@ SENSOR_TYPES = {
|
|||
"gustangle": ["Gust Angle", "", "mdi:compass", None],
|
||||
"gustangle_value": ["Gust Angle Value", "º", "mdi:compass", None],
|
||||
"guststrength": ["Gust Strength", "km/h", "mdi:weather-windy", None],
|
||||
"reachable": ["Reachability", "", "mdi:signal", None],
|
||||
"rf_status": ["Radio", "", "mdi:signal", None],
|
||||
"rf_status_lvl": ["Radio_lvl", "", "mdi:signal", None],
|
||||
"wifi_status": ["Wifi", "", "mdi:wifi", None],
|
||||
|
@ -375,6 +376,8 @@ class NetatmoSensor(Entity):
|
|||
self._state = "N (%d\xb0)" % data["GustAngle"]
|
||||
elif self.type == "guststrength":
|
||||
self._state = data["GustStrength"]
|
||||
elif self.type == "reachable":
|
||||
self._state = data["reachable"]
|
||||
elif self.type == "rf_status_lvl":
|
||||
self._state = data["rf_status"]
|
||||
elif self.type == "rf_status":
|
||||
|
|
|
@ -1084,7 +1084,7 @@ pyalarmdotcom==0.3.2
|
|||
pyarlo==0.2.3
|
||||
|
||||
# homeassistant.components.netatmo
|
||||
pyatmo==2.2.1
|
||||
pyatmo==2.3.2
|
||||
|
||||
# homeassistant.components.atome
|
||||
pyatome==0.1.1
|
||||
|
|
Loading…
Reference in New Issue