Add some more undocumented bits to schemas
This commit is contained in:
parent
738038e1f2
commit
2869b181c6
@ -42,6 +42,8 @@ class NfcCard(ForbidExtraBaseModel):
|
||||
"""Owner of the NFC card."""
|
||||
note: str
|
||||
"""!!! note "not listed in API docs" """
|
||||
nfc_id: str | None = None
|
||||
"""!!! note "not listed in API docs" """
|
||||
|
||||
|
||||
class EnrollNfcCardResponse(ForbidExtraBaseModel):
|
||||
|
@ -78,7 +78,7 @@ class Door(ForbidExtraBaseModel):
|
||||
It can only be used for remote opening if it's bound.
|
||||
!!! note "api doc describes this as a string"
|
||||
"""
|
||||
door_lock_relay_status: Literal["lock", "unlock"]
|
||||
door_lock_relay_status: Literal["lock", "unlock", ""]
|
||||
"""Door lock status."""
|
||||
# TODO: convert empty string to None?
|
||||
door_position_status: Literal["open", "close", ""]
|
||||
|
Loading…
Reference in New Issue
Block a user