feat: fan entity support direction ctrl (#556)

* feat: fan entity support direction

* fix: fix value judgement logic
This commit is contained in:
Paul Shawn
2025-01-07 20:21:24 +08:00
committed by GitHub
parent ce7ce7af4b
commit c0d100ce2b
2 changed files with 49 additions and 1 deletions

View File

@ -289,7 +289,7 @@ SPEC_SERVICE_TRANS_MAP: dict[str, dict | str] = {
}
},
'optional': {
'properties': {'mode', 'horizontal-swing'}
'properties': {'mode', 'horizontal-swing', 'wind-reverse'}
},
'entity': 'fan'
},