From cc022e4bf8efdf1540535bad34224ce2a715e0ca Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 12 Sep 2026 17:35:04 -0400 Subject: [PATCH] Fixed linting issues --- main.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/main.py b/main.py index 8bb44ca..8710291 100644 --- a/main.py +++ b/main.py @@ -57,13 +57,15 @@ def register_ha_discovery(mqtt, sensor_type): ] if sensor_type == "bme280": - configs.append({ - "id": "pressure", - "name": "Pressure", - "unit": "hPa", - "cls": "atmospheric_pressure", - "val_tpl": "{{ value_json.pressure }}", - }) + configs.append( + { + "id": "pressure", + "name": "Pressure", + "unit": "hPa", + "cls": "atmospheric_pressure", + "val_tpl": "{{ value_json.pressure }}", + } + ) for c in configs: topic = f"homeassistant/sensor/{Config.NODE_ID}/{c['id']}/config"