mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-10 02:33:04 +02:00
Fix migration bump
This commit is contained in:
@@ -588,9 +588,7 @@ class MqttHaModule(FanoutModule):
|
|||||||
ct_lpp_sensors = latest_ct_data.get("lpp_sensors", [])
|
ct_lpp_sensors = latest_ct_data.get("lpp_sensors", [])
|
||||||
if ct_lpp_sensors:
|
if ct_lpp_sensors:
|
||||||
ct_nid = _node_id(pub_key)
|
ct_nid = _node_id(pub_key)
|
||||||
ct_device = _device_payload(
|
ct_device = _device_payload(pub_key, cname, "Node", via_device_key=self._radio_key)
|
||||||
pub_key, cname, "Node", via_device_key=self._radio_key
|
|
||||||
)
|
|
||||||
ct_state_topic = f"{self._prefix}/{ct_nid}/telemetry"
|
ct_state_topic = f"{self._prefix}/{ct_nid}/telemetry"
|
||||||
configs.extend(
|
configs.extend(
|
||||||
_lpp_discovery_configs(
|
_lpp_discovery_configs(
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
# run ``run_migrations`` to completion assert ``get_version == LATEST`` and
|
# run ``run_migrations`` to completion assert ``get_version == LATEST`` and
|
||||||
# ``applied == LATEST - starting_version`` so only this constant needs to
|
# ``applied == LATEST - starting_version`` so only this constant needs to
|
||||||
# change, not every individual assertion.
|
# change, not every individual assertion.
|
||||||
LATEST_SCHEMA_VERSION = 61
|
LATEST_SCHEMA_VERSION = 62
|
||||||
|
|||||||
Reference in New Issue
Block a user