mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +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",
|
"name": "Minut Point",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/point",
|
"documentation": "https://www.home-assistant.io/integrations/point",
|
||||||
"requirements": ["pypoint==2.1.0"],
|
"requirements": ["pypoint==2.2.0"],
|
||||||
"dependencies": ["webhook", "http"],
|
"dependencies": ["webhook", "http"],
|
||||||
"codeowners": ["@fredrike"],
|
"codeowners": ["@fredrike"],
|
||||||
"quality_scale": "gold",
|
"quality_scale": "gold",
|
||||||
|
@ -11,10 +11,8 @@ from homeassistant.components.sensor import (
|
|||||||
)
|
)
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
DEVICE_CLASS_HUMIDITY,
|
DEVICE_CLASS_HUMIDITY,
|
||||||
DEVICE_CLASS_PRESSURE,
|
|
||||||
DEVICE_CLASS_TEMPERATURE,
|
DEVICE_CLASS_TEMPERATURE,
|
||||||
PERCENTAGE,
|
PERCENTAGE,
|
||||||
PRESSURE_HPA,
|
|
||||||
SOUND_PRESSURE_WEIGHTED_DBA,
|
SOUND_PRESSURE_WEIGHTED_DBA,
|
||||||
TEMP_CELSIUS,
|
TEMP_CELSIUS,
|
||||||
)
|
)
|
||||||
@ -50,12 +48,6 @@ SENSOR_TYPES: tuple[MinutPointSensorEntityDescription, ...] = (
|
|||||||
device_class=DEVICE_CLASS_TEMPERATURE,
|
device_class=DEVICE_CLASS_TEMPERATURE,
|
||||||
native_unit_of_measurement=TEMP_CELSIUS,
|
native_unit_of_measurement=TEMP_CELSIUS,
|
||||||
),
|
),
|
||||||
MinutPointSensorEntityDescription(
|
|
||||||
key="pressure",
|
|
||||||
precision=0,
|
|
||||||
device_class=DEVICE_CLASS_PRESSURE,
|
|
||||||
native_unit_of_measurement=PRESSURE_HPA,
|
|
||||||
),
|
|
||||||
MinutPointSensorEntityDescription(
|
MinutPointSensorEntityDescription(
|
||||||
key="humidity",
|
key="humidity",
|
||||||
precision=1,
|
precision=1,
|
||||||
|
@ -1723,7 +1723,7 @@ pypjlink2==1.2.1
|
|||||||
pyplaato==0.0.15
|
pyplaato==0.0.15
|
||||||
|
|
||||||
# homeassistant.components.point
|
# homeassistant.components.point
|
||||||
pypoint==2.1.0
|
pypoint==2.2.0
|
||||||
|
|
||||||
# homeassistant.components.profiler
|
# homeassistant.components.profiler
|
||||||
pyprof2calltree==1.4.5
|
pyprof2calltree==1.4.5
|
||||||
|
@ -1024,7 +1024,7 @@ pypck==0.7.10
|
|||||||
pyplaato==0.0.15
|
pyplaato==0.0.15
|
||||||
|
|
||||||
# homeassistant.components.point
|
# homeassistant.components.point
|
||||||
pypoint==2.1.0
|
pypoint==2.2.0
|
||||||
|
|
||||||
# homeassistant.components.profiler
|
# homeassistant.components.profiler
|
||||||
pyprof2calltree==1.4.5
|
pyprof2calltree==1.4.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user