Skip to content

Commit f03c30b

Browse files
committed
Formatting
1 parent b991685 commit f03c30b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,7 @@ async def get_state(self, features: tuple[NodeFeature]) -> dict[NodeFeature, Any
11421142
raise NodeError(
11431143
f"Update of feature '{feature}' is not supported for {self.name}"
11441144
)
1145+
11451146
if feature == NodeFeature.ENERGY:
11461147
states[feature] = await self.energy_update()
11471148
_LOGGER.debug(
@@ -1170,6 +1171,8 @@ async def get_state(self, features: tuple[NodeFeature]) -> dict[NodeFeature, Any
11701171
else:
11711172
state_result = await super().get_state((feature,))
11721173
states[feature] = state_result[feature]
1174+
11731175
if NodeFeature.AVAILABLE not in states:
11741176
states[NodeFeature.AVAILABLE] = self.available_state
1177+
11751178
return states

0 commit comments

Comments
 (0)