Bump pysmartthings to 2.6.1 (#139936)

* Bump pysmartthings to 2.6.1

* Bump pysmartthings to 2.6.1
This commit is contained in:
Joost Lekkerkerker 2025-03-06 13:22:49 +01:00 committed by GitHub
parent c51e644203
commit edc763b7d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 12 additions and 18 deletions

View File

@ -60,7 +60,9 @@ class SmartThingsEntity(Entity):
self._attr_device_info.update(
{
"manufacturer": ocf.manufacturer_name,
"model": ocf.model_number.split("|")[0],
"model": (
(ocf.model_number.split("|")[0]) if ocf.model_number else None
),
"hw_version": ocf.hardware_version,
"sw_version": ocf.firmware_version,
}

View File

@ -29,5 +29,5 @@
"documentation": "https://www.home-assistant.io/integrations/smartthings",
"iot_class": "cloud_push",
"loggers": ["pysmartthings"],
"requirements": ["pysmartthings==2.5.0"]
"requirements": ["pysmartthings==2.6.1"]
}

2
requirements_all.txt generated
View File

@ -2310,7 +2310,7 @@ pysma==0.7.5
pysmappee==0.2.29
# homeassistant.components.smartthings
pysmartthings==2.5.0
pysmartthings==2.6.1
# homeassistant.components.smarty
pysmarty2==0.10.2

View File

@ -1882,7 +1882,7 @@ pysma==0.7.5
pysmappee==0.2.29
# homeassistant.components.smartthings
pysmartthings==2.5.0
pysmartthings==2.6.1
# homeassistant.components.smarty
pysmarty2==0.10.2

View File

@ -286,18 +286,10 @@
"id": "60fbc713-8da5-315d-b31a-6d6dcde4be7b"
},
"ocf": {
"ocfDeviceType": "oic.d.airconditioner",
"name": "[room a/c] Samsung",
"specVersion": "core.1.1.0",
"verticalDomainSpecVersion": "res.1.1.0,sh.1.1.0",
"ocfDeviceType": "x.com.st.d.sensor.light",
"manufacturerName": "Samsung Electronics",
"modelNumber": "ARTIK051_KRAC_18K|10193441|60010132001111110200000000000000",
"platformVersion": "0G3MPDCKA00010E",
"platformOS": "TizenRT2.0",
"hwVersion": "1.0",
"firmwareVersion": "0.1.0",
"vendorId": "DA-AC-RAC-000001",
"lastSignupTime": "2021-04-06T16:43:27.889445Z",
"vendorId": "VD-Sensor.Light-2023",
"lastSignupTime": "2025-01-08T02:32:04.631093137Z",
"transferCandidate": false,
"additionalAuthCodeRequired": false
},

View File

@ -207,7 +207,7 @@
}),
'disabled_by': None,
'entry_type': None,
'hw_version': '1.0',
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
@ -219,14 +219,14 @@
'labels': set({
}),
'manufacturer': 'Samsung Electronics',
'model': 'ARTIK051_KRAC_18K',
'model': None,
'model_id': None,
'name': 'AC Office Granit',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'suggested_area': 'Theater',
'sw_version': '0.1.0',
'sw_version': None,
'via_device_id': None,
})
# ---