Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Un-retain old home assistant messages #158

Open
lupine opened this issue Mar 29, 2023 · 0 comments
Open

Un-retain old home assistant messages #158

lupine opened this issue Mar 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lupine
Copy link
Contributor

lupine commented Mar 29, 2023

Reading https://github.com/celsworth/lxp-bridge/wiki/MQTT-Home-Assistant , it became clear to me that the Home Assistant topics have changed name since 0.9, which I hadn't realised before.

In the example, we move from homeassistant/sensor/3333333333_soc/config to homeassistant/sensor/lxp_3333333333/soc/config, for instance. This means controls will be duplicated in HA.

We could advise that people clear out these old topics manually, but we could also manage this inside lxp-bridge by publishing empty-payload messages to the old topics; think of it as a kind of database migration.

@celsworth celsworth modified the milestones: v0.10, v0.11 Apr 3, 2023
@celsworth celsworth added the enhancement New feature or request label Apr 26, 2023
@celsworth celsworth removed this from the v0.11 milestone Aug 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants