Skip to content

Commit b993bc9

Browse files
The00Dustinpre-commit-ci[bot]alandtse
authored
fix: Remove TeslaMate MQTT warning at every HA startup (#683)
* Change log for MQTT not configured to INFO * style: auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alan Tse <[email protected]>
1 parent 4e091c4 commit b993bc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

custom_components/tesla_custom/teslamate.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ async def unload(self):
130130
if mqtt_config_entry_enabled(self.hass):
131131
await self._unsub_mqtt()
132132
else:
133-
logger.warning(
134-
"Cannot unsub from TeslaMate as MQTT has not been configured."
135-
)
133+
logger.info("Cannot unsub from TeslaMate as MQTT has not been configured.")
136134

137135
return True
138136

0 commit comments

Comments
 (0)