Skip to content

Commit

Permalink
Fix issue with service template name (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Aug 5, 2024
1 parent 2a452ee commit c48c725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/predbat/inverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ def call_service_template(self, service, data):
service_name = ""
if service_template:
if isinstance(service_template, str):
service_name = service
service_name = service_template
service_data = data
else:
for key in service_template:
Expand Down

0 comments on commit c48c725

Please sign in to comment.