diff --git a/app/fanout/mqtt_ha.py b/app/fanout/mqtt_ha.py index feb9b1b..8538192 100644 --- a/app/fanout/mqtt_ha.py +++ b/app/fanout/mqtt_ha.py @@ -588,9 +588,7 @@ class MqttHaModule(FanoutModule): ct_lpp_sensors = latest_ct_data.get("lpp_sensors", []) if ct_lpp_sensors: ct_nid = _node_id(pub_key) - ct_device = _device_payload( - pub_key, cname, "Node", via_device_key=self._radio_key - ) + ct_device = _device_payload(pub_key, cname, "Node", via_device_key=self._radio_key) ct_state_topic = f"{self._prefix}/{ct_nid}/telemetry" configs.extend( _lpp_discovery_configs( diff --git a/tests/test_migrations/conftest.py b/tests/test_migrations/conftest.py index 259d6b5..c066e9a 100644 --- a/tests/test_migrations/conftest.py +++ b/tests/test_migrations/conftest.py @@ -2,4 +2,4 @@ # run ``run_migrations`` to completion assert ``get_version == LATEST`` and # ``applied == LATEST - starting_version`` so only this constant needs to # change, not every individual assertion. -LATEST_SCHEMA_VERSION = 61 +LATEST_SCHEMA_VERSION = 62