Skip to content

Commit

Permalink
Fix typing for capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Orhideous committed Feb 15, 2024
1 parent 3cfe3b1 commit 35643b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roombapy/roomba_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class RoombaInfo(BaseModel):
mac: str
robot_name: str = Field(alias="robotname")
sku: str
capabilities: Dict[str, str] = Field(alias="cap")
capabilities: Dict[str, int] = Field(alias="cap")
password: Optional[str] = None

@field_validator("hostname")
Expand Down

0 comments on commit 35643b6

Please sign in to comment.