Repository navigation
v2.1.0
2.1.0 lets the Replace wizard swap any device, not only a dead one, and fixes four things in the app that reported the wrong picture: a "May go silent" warning for values a device sends anyway, filter chips that ignored the search, a battery cost estimate that could run into the hundreds, and the app calling itself 2.0.0.
The changes landed in #53 and #54. Everything is in the app. The integration's version moves to 2.1.0 so the two parts keep matching numbers, and the summary card now reports its version correctly.
Fixed
-
A missing reporting setting is no longer flagged as May go silent when the device sends that value anyway. Some plugs (Tuya TS011F and similar) have reporting set for current and voltage only, and send power in the same messages. The "no reporting set" rule flagged power on them even though it updates fine. The tracker now remembers when each measured value last changed in the device's messages. If it changed in the last 7 days, the device's reporting list on Health shows it as No reporting set, but it comes with the device's other reports, and it is not a finding. A value that never changes doesn't count, because Zigbee2MQTT's
cache_staterepeats the last value in every message. (#53) -
On Devices, the filter chip counts follow the search. The chips counted every device whatever you typed, so a search under Needs attention could show nothing with no hint that All had matches. The counts now show the matches under each chip, and an empty result offers a Show N matches in All button. The search also matches the vendor and model as the list shows them (Tuya for
_TZmanufacturers), the device type and the kind of device: bulb, plug, door and so on. (#53) -
Upkeep → Costs no longer counts one battery change several times. A change that was detected and then ticked, or logged twice, a couple of days apart counted as a two-day battery life. One thermostat with 4 AA batteries showed 730 batteries a year. Battery changes within 3 days of each other now merge into one, as the brand stats already did, for both the battery life and the last-12-months count. Nothing in your history is changed: only the sums are. (#54)
-
The app reports its real version. Since 2.0.1 the app's start-up log, its web server header, its version endpoint and its MQTT discovery device all said 2.0.0, and the summary card said 2.0.0 in the browser console. All of them now read 2.1.0, and a new test fails if a version is left behind in a future release. (#54)
Added
-
Replace… works on working devices and on another model. Until now the wizard was offered only for a dead device. You can now use it to swap any device, for example for a different brand or model. The new device takes over the old one's name, area, bindings, notes and, if you choose, battery record, and both histories are linked. For the old device there are two choices:
-
Remove the old device asks a working device to leave the network, then removes it from Zigbee2MQTT. If it doesn't answer, it is force-removed, and it stays paired until you factory-reset it. The wizard tells you when that happens. The box starts ticked for an offline or a working device, because Zigbee2MQTT won't let two devices share a name. For a silent or ghost device it starts unticked, because that device may still work.
-
Rename the old device keeps it in Zigbee2MQTT as "name (old)", numbered if that is taken, so its name is free for the new device. It keeps its maintenance tasks. Its Home Assistant entity IDs change with the name.
Bindings are fitted to the new model's endpoints, and any that don't fit are listed so you can set them up in Zigbee2MQTT. When the new device is a different model, the wizard warns that some Home Assistant entity names can change, so check the automations that use the old device. Open it from a device's pane on Devices → Replace…. (#53)
-
Upgrading
-
Update the Z2M Device Tracker app from Settings → Apps. All the fixes and the Replace wizard are in the app.
-
Updating the integration in HACS is optional. It only moves the version to 2.1.0 and corrects the version the summary card reports.
-
No settings change. Battery cost figures on Upkeep → Costs may drop after the update if a battery change had been logged twice: the new figure is the right one.
Full changelog: v2.0.2...v2.1.0