mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Bump Environment Canada to 0.7.0 (#120686)
This commit is contained in:
parent
f9c5661c66
commit
07dd832c58
@ -6,5 +6,5 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/environment_canada",
|
"documentation": "https://www.home-assistant.io/integrations/environment_canada",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["env_canada"],
|
"loggers": ["env_canada"],
|
||||||
"requirements": ["env-canada==0.6.3"]
|
"requirements": ["env-canada==0.7.0"]
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,6 @@ from homeassistant.const import (
|
|||||||
PERCENTAGE,
|
PERCENTAGE,
|
||||||
UV_INDEX,
|
UV_INDEX,
|
||||||
UnitOfLength,
|
UnitOfLength,
|
||||||
UnitOfPrecipitationDepth,
|
|
||||||
UnitOfPressure,
|
UnitOfPressure,
|
||||||
UnitOfSpeed,
|
UnitOfSpeed,
|
||||||
UnitOfTemperature,
|
UnitOfTemperature,
|
||||||
@ -114,14 +113,6 @@ SENSOR_TYPES: tuple[ECSensorEntityDescription, ...] = (
|
|||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
value_fn=lambda data: data.conditions.get("pop", {}).get("value"),
|
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(
|
ECSensorEntityDescription(
|
||||||
key="pressure",
|
key="pressure",
|
||||||
translation_key="pressure",
|
translation_key="pressure",
|
||||||
|
@ -52,9 +52,6 @@
|
|||||||
"pop": {
|
"pop": {
|
||||||
"name": "Chance of precipitation"
|
"name": "Chance of precipitation"
|
||||||
},
|
},
|
||||||
"precip_yesterday": {
|
|
||||||
"name": "Precipitation yesterday"
|
|
||||||
},
|
|
||||||
"pressure": {
|
"pressure": {
|
||||||
"name": "Barometric pressure"
|
"name": "Barometric pressure"
|
||||||
},
|
},
|
||||||
|
@ -816,7 +816,7 @@ enocean==0.50
|
|||||||
enturclient==0.2.4
|
enturclient==0.2.4
|
||||||
|
|
||||||
# homeassistant.components.environment_canada
|
# homeassistant.components.environment_canada
|
||||||
env-canada==0.6.3
|
env-canada==0.7.0
|
||||||
|
|
||||||
# homeassistant.components.season
|
# homeassistant.components.season
|
||||||
ephem==4.1.5
|
ephem==4.1.5
|
||||||
|
@ -673,7 +673,7 @@ energyzero==2.1.0
|
|||||||
enocean==0.50
|
enocean==0.50
|
||||||
|
|
||||||
# homeassistant.components.environment_canada
|
# homeassistant.components.environment_canada
|
||||||
env-canada==0.6.3
|
env-canada==0.7.0
|
||||||
|
|
||||||
# homeassistant.components.season
|
# homeassistant.components.season
|
||||||
ephem==4.1.5
|
ephem==4.1.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user