mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Update pypoint to use v5 of backend API (#56934)
This commit is contained in:
parent
2d174d0cbb
commit
b563a41482
@ -3,7 +3,7 @@
|
||||
"name": "Minut Point",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/point",
|
||||
"requirements": ["pypoint==2.1.0"],
|
||||
"requirements": ["pypoint==2.2.0"],
|
||||
"dependencies": ["webhook", "http"],
|
||||
"codeowners": ["@fredrike"],
|
||||
"quality_scale": "gold",
|
||||
|
@ -11,10 +11,8 @@ from homeassistant.components.sensor import (
|
||||
)
|
||||
from homeassistant.const import (
|
||||
DEVICE_CLASS_HUMIDITY,
|
||||
DEVICE_CLASS_PRESSURE,
|
||||
DEVICE_CLASS_TEMPERATURE,
|
||||
PERCENTAGE,
|
||||
PRESSURE_HPA,
|
||||
SOUND_PRESSURE_WEIGHTED_DBA,
|
||||
TEMP_CELSIUS,
|
||||
)
|
||||
@ -50,12 +48,6 @@ SENSOR_TYPES: tuple[MinutPointSensorEntityDescription, ...] = (
|
||||
device_class=DEVICE_CLASS_TEMPERATURE,
|
||||
native_unit_of_measurement=TEMP_CELSIUS,
|
||||
),
|
||||
MinutPointSensorEntityDescription(
|
||||
key="pressure",
|
||||
precision=0,
|
||||
device_class=DEVICE_CLASS_PRESSURE,
|
||||
native_unit_of_measurement=PRESSURE_HPA,
|
||||
),
|
||||
MinutPointSensorEntityDescription(
|
||||
key="humidity",
|
||||
precision=1,
|
||||
|
@ -1723,7 +1723,7 @@ pypjlink2==1.2.1
|
||||
pyplaato==0.0.15
|
||||
|
||||
# homeassistant.components.point
|
||||
pypoint==2.1.0
|
||||
pypoint==2.2.0
|
||||
|
||||
# homeassistant.components.profiler
|
||||
pyprof2calltree==1.4.5
|
||||
|
@ -1024,7 +1024,7 @@ pypck==0.7.10
|
||||
pyplaato==0.0.15
|
||||
|
||||
# homeassistant.components.point
|
||||
pypoint==2.1.0
|
||||
pypoint==2.2.0
|
||||
|
||||
# homeassistant.components.profiler
|
||||
pyprof2calltree==1.4.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user