Skip to content

Commit

Permalink
Fix sensor name in LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
vingerha committed May 7, 2024
1 parent 602e765 commit ad4803d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM vingerha/gazpar_2_mqtt
FROM vingerha/gazpar_2_mqtt_dev

##################
# Install apps #
Expand Down
2 changes: 1 addition & 1 deletion app/gazpar2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def run(myParams):
"keyfile": myParams.hassSslKeyfile
}

logging.debug(f"Writing Websocket Home Assistant LTS for PCE: {myPce.pceId}, sensor name: {sensor_name}")
logging.debug(f"Writing Websocket Home Assistant LTS for PCE: {myPce.pceId}, sensor name: {myParams.hassLtsSensorName}")
HomeAssistantWs(myPce.pceId, myParams.hassHost.split('//')[1], myParams.hassSsl, ssl_data, myParams.hassToken, myParams.hassLtsSensorName, stats_array)

except Exception as e:
Expand Down

0 comments on commit ad4803d

Please sign in to comment.