Update pypoint to use v5 of backend API (#56934)

This commit is contained in:
Fredrik Erlandsson 2021-10-02 22:53:19 +02:00 committed by GitHub
parent 2d174d0cbb
commit b563a41482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 11 deletions

View File

@ -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",

View File

@ -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,

View File

@ -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

View File

@ -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