Bump thinqconnect to 1.0.4 (#137395)

Co-authored-by: yunseon.park <yunseon.park@lge.com>
pull/137779/head
LG-ThinQ-Integration 2025-02-05 20:18:14 +09:00 committed by GitHub
parent a1655d28ba
commit 1445e17521
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 145 additions and 5 deletions

View File

@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/lg_thinq",
"iot_class": "cloud_push",
"loggers": ["thinqconnect"],
"requirements": ["thinqconnect==1.0.2"]
"requirements": ["thinqconnect==1.0.4"]
}

2
requirements_all.txt generated
View File

@ -2884,7 +2884,7 @@ thermopro-ble==0.11.0
thingspeak==1.0.0
# homeassistant.components.lg_thinq
thinqconnect==1.0.2
thinqconnect==1.0.4
# homeassistant.components.tikteck
tikteck==0.4

View File

@ -2318,7 +2318,7 @@ thermobeacon-ble==0.7.0
thermopro-ble==0.11.0
# homeassistant.components.lg_thinq
thinqconnect==1.0.2
thinqconnect==1.0.4
# homeassistant.components.tilt_ble
tilt-ble==0.2.3

View File

@ -57,6 +57,16 @@
"type": "number"
}
},
"filterInfo": {
"filterLifetime": {
"mode": ["r"],
"type": "number"
},
"usedTime": {
"mode": ["r"],
"type": "number"
}
},
"operation": {
"airCleanOperationMode": {
"mode": ["w"],
@ -124,6 +134,52 @@
}
}
},
"temperatureInUnits": [
{
"currentTemperature": {
"type": "number",
"mode": ["r"]
},
"targetTemperature": {
"type": "number",
"mode": ["r"]
},
"coolTargetTemperature": {
"type": "range",
"mode": ["w"],
"value": {
"w": {
"max": 30,
"min": 18,
"step": 1
}
}
},
"unit": "C"
},
{
"currentTemperature": {
"type": "number",
"mode": ["r"]
},
"targetTemperature": {
"type": "number",
"mode": ["r"]
},
"coolTargetTemperature": {
"type": "range",
"mode": ["w"],
"value": {
"w": {
"max": 86,
"min": 64,
"step": 2
}
}
},
"unit": "F"
}
],
"timer": {
"relativeHourToStart": {
"mode": ["r", "w"],
@ -149,6 +205,24 @@
"mode": ["r", "w"],
"type": "number"
}
},
"windDirection": {
"rotateUpDown": {
"type": "boolean",
"mode": ["r", "w"],
"value": {
"r": [true, false],
"w": [true, false]
}
},
"rotateLeftRight": {
"type": "boolean",
"mode": ["r", "w"],
"value": {
"r": [true, false],
"w": [true, false]
}
}
}
}
}

View File

@ -32,6 +32,19 @@
"targetTemperature": 19,
"unit": "C"
},
"temperatureInUnits": [
{
"currentTemperature": 25,
"targetTemperature": 19,
"unit": "C"
},
{
"currentTemperature": 77,
"targetTemperature": 66,
"unit": "F"
}
],
"timer": {
"relativeStartTimer": "UNSET",
"relativeStopTimer": "UNSET",
@ -39,5 +52,9 @@
"absoluteStopTimer": "UNSET",
"absoluteHourToStart": 13,
"absoluteMinuteToStart": 14
},
"windDirection": {
"rotateUpDown": false,
"rotateLeftRight": false
}
}

View File

@ -43,7 +43,7 @@
'original_name': None,
'platform': 'lg_thinq',
'previous_unique_id': None,
'supported_features': <ClimateEntityFeature: 409>,
'supported_features': <ClimateEntityFeature: 411>,
'translation_key': <ExtendedProperty.CLIMATE_AIR_CONDITIONER: 'climate_air_conditioner'>,
'unique_id': 'MW2-2E247F93-B570-46A6-B827-920E9E10F966_climate_air_conditioner',
'unit_of_measurement': None,
@ -72,7 +72,9 @@
'preset_modes': list([
'air_clean',
]),
'supported_features': <ClimateEntityFeature: 409>,
'supported_features': <ClimateEntityFeature: 411>,
'target_temp_high': None,
'target_temp_low': None,
'target_temp_step': 1,
'temperature': 19,
}),

View File

@ -1,4 +1,51 @@
# serializer version: 1
# name: test_all_entities[sensor.test_air_conditioner_filter_remaining-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.test_air_conditioner_filter_remaining',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Filter remaining',
'platform': 'lg_thinq',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': <Property.FILTER_LIFETIME: 'filter_lifetime'>,
'unique_id': 'MW2-2E247F93-B570-46A6-B827-920E9E10F966_filter_lifetime',
'unit_of_measurement': <UnitOfTime.HOURS: 'h'>,
})
# ---
# name: test_all_entities[sensor.test_air_conditioner_filter_remaining-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Test air conditioner Filter remaining',
'unit_of_measurement': <UnitOfTime.HOURS: 'h'>,
}),
'context': <ANY>,
'entity_id': 'sensor.test_air_conditioner_filter_remaining',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '540',
})
# ---
# name: test_all_entities[sensor.test_air_conditioner_humidity-entry]
EntityRegistryEntrySnapshot({
'aliases': set({