Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Floris272 committed Aug 10, 2023
1 parent ae0b171 commit 5164af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/blue_current/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"documentation": "https://www.home-assistant.io/integrations/blue_current",
"iot_class": "cloud_push",
"issue_tracker": "https://github.com/bluecurrent/ha-bluecurrent/issues",
"requirements": ["bluecurrent-api==1.0.4"],
"requirements": ["bluecurrent-api==1.0.5"],
"version": "1.0.0"
}
2 changes: 1 addition & 1 deletion custom_components/blue_current/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def update_from_latest_data(self) -> None:
activity = self.connector.charge_points[self.evse_id].get(ACTIVITY)

if new_value is not None and activity == AVAILABLE:
self._attr_is_on = new_value = new_value
self._attr_is_on = new_value
self._attr_available = True

else:
Expand Down

0 comments on commit 5164af2

Please sign in to comment.