Skip to content

Commit

Permalink
fix: Fix Pylance "Call expression not allowed in type expression"
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgoette committed Oct 9, 2024
1 parent b7253d0 commit 3bb3648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/babybuddy/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def extra_state_attributes(self) -> dict[str, Any]:
self.entity_description.key
]
if self.entity_description.key == ATTR_CHANGES:
wet_and_solid: tuple(bool, bool) = (
wet_and_solid: tuple[bool, bool] = (
self.coordinator.data[1][self.child[ATTR_ID]][
self.entity_description.key
].get(ATTR_WET, False),
Expand Down

0 comments on commit 3bb3648

Please sign in to comment.