diff --git a/custom_components/ramses_cc/schemas.py b/custom_components/ramses_cc/schemas.py index fb101b6..fd2ec43 100644 --- a/custom_components/ramses_cc/schemas.py +++ b/custom_components/ramses_cc/schemas.py @@ -232,7 +232,7 @@ def schema_is_minimal(schema: _SchemaT) -> bool: SCH_SEND_PACKET = vol.Schema( { vol.Required(ATTR_DEVICE_ID): _SCH_DEVICE_ID, - Vol.Optional("from_id"): _SCH_DEVICE_ID, + vol.Optional("from_id"): _SCH_DEVICE_ID, vol.Required("verb"): vol.In((" I", "I", "RQ", "RP", " W", "W")), vol.Required("code"): cv.matches_regex(r"^[0-9A-F]{4}$"), vol.Required("payload"): cv.matches_regex(r"^([0-9A-F][0-9A-F]){1,48}$"),