Skip to content

Commit

Permalink
Fix no configuration message
Browse files Browse the repository at this point in the history
  • Loading branch information
ejohb committed Sep 17, 2023
1 parent 4c26b00 commit adf8816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haco/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def listen(client, devices):
break

if not device:
msg = f"""Found device with no configuration module assigned. Assign one in Add-On Configuration: "{data_announce["device_name"]}" Hostname: {data_announce["hostname"]} {data_announce["hostname"]} MAC:{data_announce["mac"]}."""
msg = f"""Found device with no configuration module assigned. Assign one in Add-On Configuration: "{data_announce.name}" Hostname: {data_announce.hostname} MAC:{data_announce.mac}."""
tools.logger.info(msg)
continue

Expand Down

0 comments on commit adf8816

Please sign in to comment.