Skip to content

Commit

Permalink
Fix typo in schemas.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kars-de-Jong committed Dec 16, 2024
1 parent 1d546a0 commit 08f1e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ramses_cc/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}$"),
Expand Down

0 comments on commit 08f1e82

Please sign in to comment.