Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Aug 18, 2022
1 parent 7a82f73 commit 8d11a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/plum_ecomax/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def set_schedule_service(service_call: ServiceCall) -> None:
start_time = service_call.data[ATTR_START]
end_time = service_call.data[ATTR_END]

name = name.lower().replace("", "_")
name = name.lower().replace(" ", "_")
if connection.device is not None and name in connection.device.data.get(
"schedules", {}
):
Expand Down

0 comments on commit 8d11a35

Please sign in to comment.