Fix linting

This commit is contained in:
Meatballs1
2024-03-22 10:56:06 +00:00
parent 9d5411eeec
commit 90c81a61b8
2 changed files with 1 additions and 8 deletions

View File

@@ -347,7 +347,7 @@ class HCDevice:
values = msg["data"][0]
elif resource == "/ro/descriptionChange" or resource == "/ro/allDescriptionChanges":
### we asked for these but don't know have to parse yet
# we asked for these but don't know have to parse yet
pass
elif resource == "/ni/info":

View File

@@ -134,18 +134,11 @@ def hc2mqtt(
client.loop_forever()
# Map their value names to easier state names
topics = {
"InternalError": "Error",
"FatalErrorOccured": "Error",
}
global dev
dev = {}
def client_connect(client, device, mqtt_topic):
host = device["host"]
device_topics = topics.copy()
state = {}