From 3bb3648eb0e9c7f7afa7bde3843431a862c48169 Mon Sep 17 00:00:00 2001 From: jcgoette Date: Wed, 9 Oct 2024 11:59:52 +0000 Subject: [PATCH] fix: Fix Pylance "Call expression not allowed in type expression" --- custom_components/babybuddy/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/babybuddy/sensor.py b/custom_components/babybuddy/sensor.py index 516133f..13e5250 100644 --- a/custom_components/babybuddy/sensor.py +++ b/custom_components/babybuddy/sensor.py @@ -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),