From 2c2631d29a4688064a9181b77fa1155e61746bfc Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 2 Sep 2026 10:30:00 +0200 Subject: [PATCH] Add SmartThings dry comfort AC preset mode (#181029) --- homeassistant/components/smartthings/climate.py | 1 + homeassistant/components/smartthings/strings.json | 1 + .../smartthings/fixtures/device_status/da_ac_rac_000003.json | 1 + tests/components/smartthings/snapshots/test_climate.ambr | 2 ++ 4 files changed, 5 insertions(+) diff --git a/homeassistant/components/smartthings/climate.py b/homeassistant/components/smartthings/climate.py index bc6ed4951310..f91cf63d5285 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -115,6 +115,7 @@ PRESET_MODE_TO_HA = { "smart": "smart", "motionIndirect": "motion_indirect", "motionDirect": "motion_direct", + "dryComfort": "dry_comfort", } HA_MODE_TO_PRESET_MODE = {v: k for k, v in PRESET_MODE_TO_HA.items()} diff --git a/homeassistant/components/smartthings/strings.json b/homeassistant/components/smartthings/strings.json index 9b6007fd1836..7db88dcd85aa 100644 --- a/homeassistant/components/smartthings/strings.json +++ b/homeassistant/components/smartthings/strings.json @@ -130,6 +130,7 @@ }, "preset_mode": { "state": { + "dry_comfort": "Dry comfort", "long_wind": "Long wind", "motion_direct": "Motion direct", "motion_indirect": "Motion indirect", diff --git a/tests/components/smartthings/fixtures/device_status/da_ac_rac_000003.json b/tests/components/smartthings/fixtures/device_status/da_ac_rac_000003.json index 42fd78cd8621..4e99d8f1e04f 100644 --- a/tests/components/smartthings/fixtures/device_status/da_ac_rac_000003.json +++ b/tests/components/smartthings/fixtures/device_status/da_ac_rac_000003.json @@ -93,6 +93,7 @@ "speed", "motionIndirect", "motionDirect", + "dryComfort", "windFree", "windFreeSleep" ], diff --git a/tests/components/smartthings/snapshots/test_climate.ambr b/tests/components/smartthings/snapshots/test_climate.ambr index 656e751c4497..f03223e1cf99 100644 --- a/tests/components/smartthings/snapshots/test_climate.ambr +++ b/tests/components/smartthings/snapshots/test_climate.ambr @@ -464,6 +464,7 @@ 'boost', 'motion_indirect', 'motion_direct', + 'dry_comfort', 'wind_free', 'wind_free_sleep', ]), @@ -540,6 +541,7 @@ 'boost', 'motion_indirect', 'motion_direct', + 'dry_comfort', 'wind_free', 'wind_free_sleep', ]),