mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
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
@ -23,6 +23,7 @@ from .entity import HMDevice
|
|||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
HM_STATE_HA_CAST = {
|
HM_STATE_HA_CAST = {
|
||||||
|
"IPGarage": {0: "closed", 1: "open", 2: "ventilation", 3: None},
|
||||||
"RotaryHandleSensor": {0: "closed", 1: "tilted", 2: "open"},
|
"RotaryHandleSensor": {0: "closed", 1: "tilted", 2: "open"},
|
||||||
"RotaryHandleSensorIP": {0: "closed", 1: "tilted", 2: "open"},
|
"RotaryHandleSensorIP": {0: "closed", 1: "tilted", 2: "open"},
|
||||||
"WaterSensor": {0: "dry", 1: "wet", 2: "water"},
|
"WaterSensor": {0: "dry", 1: "wet", 2: "water"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user