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 Franck Nijhof
parent af9bbd0585
commit a279e23fb5
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
6 changed files with 14 additions and 20 deletions

View File

@ -48,7 +48,9 @@ class SmartThingsEntity(Entity):
self._attr_device_info.update( self._attr_device_info.update(
{ {
"manufacturer": ocf.manufacturer_name, "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, "hw_version": ocf.hardware_version,
"sw_version": ocf.firmware_version, "sw_version": ocf.firmware_version,
} }

View File

@ -29,5 +29,5 @@
"documentation": "https://www.home-assistant.io/integrations/smartthings", "documentation": "https://www.home-assistant.io/integrations/smartthings",
"iot_class": "cloud_push", "iot_class": "cloud_push",
"loggers": ["pysmartthings"], "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 pysmappee==0.2.29
# homeassistant.components.smartthings # homeassistant.components.smartthings
pysmartthings==2.5.0 pysmartthings==2.6.1
# homeassistant.components.smarty # homeassistant.components.smarty
pysmarty2==0.10.2 pysmarty2==0.10.2

View File

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

View File

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

View File

@ -207,7 +207,7 @@
}), }),
'disabled_by': None, 'disabled_by': None,
'entry_type': None, 'entry_type': None,
'hw_version': '1.0', 'hw_version': None,
'id': <ANY>, 'id': <ANY>,
'identifiers': set({ 'identifiers': set({
tuple( tuple(
@ -219,14 +219,14 @@
'labels': set({ 'labels': set({
}), }),
'manufacturer': 'Samsung Electronics', 'manufacturer': 'Samsung Electronics',
'model': 'ARTIK051_KRAC_18K', 'model': None,
'model_id': None, 'model_id': None,
'name': 'AC Office Granit', 'name': 'AC Office Granit',
'name_by_user': None, 'name_by_user': None,
'primary_config_entry': <ANY>, 'primary_config_entry': <ANY>,
'serial_number': None, 'serial_number': None,
'suggested_area': None, 'suggested_area': None,
'sw_version': '0.1.0', 'sw_version': None,
'via_device_id': None, 'via_device_id': None,
}) })
# --- # ---
@ -265,7 +265,7 @@
# --- # ---
# name: test_devices[da_ac_rac_100001] # name: test_devices[da_ac_rac_100001]
DeviceRegistryEntrySnapshot({ DeviceRegistryEntrySnapshot({
'area_id': 'theater', 'area_id': None,
'config_entries': <ANY>, 'config_entries': <ANY>,
'config_entries_subentries': <ANY>, 'config_entries_subentries': <ANY>,
'configuration_url': 'https://account.smartthings.com', 'configuration_url': 'https://account.smartthings.com',
@ -291,7 +291,7 @@
'name_by_user': None, 'name_by_user': None,
'primary_config_entry': <ANY>, 'primary_config_entry': <ANY>,
'serial_number': None, 'serial_number': None,
'suggested_area': 'Theater', 'suggested_area': None,
'sw_version': None, 'sw_version': None,
'via_device_id': None, 'via_device_id': None,
}) })