mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Deduplicate climate modes in SmartThings (#139930)
* Deduplicate climate modes in SmartThings * Deduplicate climate modes in SmartThings
This commit is contained in:
parent
095b04caf9
commit
052eed6bb3
@ -566,5 +566,6 @@ class SmartThingsAirConditioner(SmartThingsEntity, ClimateEntity):
|
||||
Capability.AIR_CONDITIONER_MODE, Attribute.SUPPORTED_AC_MODES
|
||||
)
|
||||
if (state := AC_MODE_TO_STATE.get(mode)) is not None
|
||||
if state not in modes
|
||||
)
|
||||
return modes
|
||||
|
@ -32,7 +32,7 @@
|
||||
"timestamp": "2025-02-09T14:35:56.800Z"
|
||||
},
|
||||
"supportedAcModes": {
|
||||
"value": ["auto", "cool", "dry", "wind", "heat"],
|
||||
"value": ["auto", "cool", "dry", "wind", "heat", "dryClean"],
|
||||
"timestamp": "2025-02-09T15:42:13.444Z"
|
||||
},
|
||||
"airConditionerMode": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user