Bump flake8 from 7.0.0 to 7.2.0 (#8493)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
dependabot[bot]
2025-04-06 00:58:39 +00:00
committed by GitHub
co-authored by J. Nick Koston
parent 5ceba618f6
commit f3b1b11eba
3 changed files with 3 additions and 5 deletions
-2
View File
@@ -32,8 +32,6 @@ class MqttStatusThread(threading.Thread):
topic = "esphome/discover/#"
def on_message(client, userdata, msg):
nonlocal current_entries
payload = msg.payload.decode(errors="backslashreplace")
if len(payload) > 0:
data = json.loads(payload)