Add names for the homematic garage door states (#35349)
* Add names for the homematic garage door states * Use None instead of "unknown" Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch> Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
This commit is contained in:
parent
8f285c15d3
commit
f09a20b66d
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ from .entity import HMDevice
|
|||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
HM_STATE_HA_CAST = {
|
||||
"IPGarage": {0: "closed", 1: "open", 2: "ventilation", 3: None},
|
||||
"RotaryHandleSensor": {0: "closed", 1: "tilted", 2: "open"},
|
||||
"RotaryHandleSensorIP": {0: "closed", 1: "tilted", 2: "open"},
|
||||
"WaterSensor": {0: "dry", 1: "wet", 2: "water"},
|
||||
|
|
Loading…
Add table
Reference in a new issue