mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
Update framework for Airthings cloud (#107653)
* Upgrade framework * Improve code for model name
This commit is contained in:
committed by
GitHub
parent
b47861d973
commit
76a1e97947
@ -6,5 +6,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/airthings",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["airthings"],
|
||||
"requirements": ["airthings-cloud==0.1.0"]
|
||||
"requirements": ["airthings-cloud==0.2.0"]
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ class AirthingsHeaterEnergySensor(
|
||||
identifiers={(DOMAIN, airthings_device.device_id)},
|
||||
name=airthings_device.name,
|
||||
manufacturer="Airthings",
|
||||
model=airthings_device.device_type.replace("_", " ").lower().title(),
|
||||
model=airthings_device.product_name,
|
||||
)
|
||||
|
||||
@property
|
||||
|
@ -410,7 +410,7 @@ airly==1.1.0
|
||||
airthings-ble==0.5.6-2
|
||||
|
||||
# homeassistant.components.airthings
|
||||
airthings-cloud==0.1.0
|
||||
airthings-cloud==0.2.0
|
||||
|
||||
# homeassistant.components.airtouch4
|
||||
airtouch4pyapi==1.0.5
|
||||
|
@ -383,7 +383,7 @@ airly==1.1.0
|
||||
airthings-ble==0.5.6-2
|
||||
|
||||
# homeassistant.components.airthings
|
||||
airthings-cloud==0.1.0
|
||||
airthings-cloud==0.2.0
|
||||
|
||||
# homeassistant.components.airtouch4
|
||||
airtouch4pyapi==1.0.5
|
||||
|
Reference in New Issue
Block a user