Bump Environment Canada to 0.7.0 (#120686)
parent
f9c5661c66
commit
07dd832c58
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/environment_canada",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["env_canada"],
|
||||
"requirements": ["env-canada==0.6.3"]
|
||||
"requirements": ["env-canada==0.7.0"]
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@ from homeassistant.const import (
|
|||
PERCENTAGE,
|
||||
UV_INDEX,
|
||||
UnitOfLength,
|
||||
UnitOfPrecipitationDepth,
|
||||
UnitOfPressure,
|
||||
UnitOfSpeed,
|
||||
UnitOfTemperature,
|
||||
|
@ -114,14 +113,6 @@ SENSOR_TYPES: tuple[ECSensorEntityDescription, ...] = (
|
|||
native_unit_of_measurement=PERCENTAGE,
|
||||
value_fn=lambda data: data.conditions.get("pop", {}).get("value"),
|
||||
),
|
||||
ECSensorEntityDescription(
|
||||
key="precip_yesterday",
|
||||
translation_key="precip_yesterday",
|
||||
device_class=SensorDeviceClass.PRECIPITATION,
|
||||
native_unit_of_measurement=UnitOfPrecipitationDepth.MILLIMETERS,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
value_fn=lambda data: data.conditions.get("precip_yesterday", {}).get("value"),
|
||||
),
|
||||
ECSensorEntityDescription(
|
||||
key="pressure",
|
||||
translation_key="pressure",
|
||||
|
|
|
@ -52,9 +52,6 @@
|
|||
"pop": {
|
||||
"name": "Chance of precipitation"
|
||||
},
|
||||
"precip_yesterday": {
|
||||
"name": "Precipitation yesterday"
|
||||
},
|
||||
"pressure": {
|
||||
"name": "Barometric pressure"
|
||||
},
|
||||
|
|
|
@ -816,7 +816,7 @@ enocean==0.50
|
|||
enturclient==0.2.4
|
||||
|
||||
# homeassistant.components.environment_canada
|
||||
env-canada==0.6.3
|
||||
env-canada==0.7.0
|
||||
|
||||
# homeassistant.components.season
|
||||
ephem==4.1.5
|
||||
|
|
|
@ -673,7 +673,7 @@ energyzero==2.1.0
|
|||
enocean==0.50
|
||||
|
||||
# homeassistant.components.environment_canada
|
||||
env-canada==0.6.3
|
||||
env-canada==0.7.0
|
||||
|
||||
# homeassistant.components.season
|
||||
ephem==4.1.5
|
||||
|
|
Loading…
Reference in New Issue