zigbee2mqtt
zigbee2mqtt copied to clipboard
The big cleanup
See https://github.com/Koenkk/zigbee2mqtt/discussions/24198
For https://github.com/Koenkk/zigbee2mqtt/pull/24200/commits/a2237ed0276ebd68f54bd2293b8e94471e1d9c4f
Removed:
- mqtt:
bridge/logbridge/(bind|unbind)/bridge/group/(.+)/(remove|add|remove_all)bridge/group/remove_allbridge/networkmap/${data.message}bridge/ota_update/
update_availablefrom OTA update payload/state- default group converters (always use members converters instead)
retrieve_statefrom Device/Group options
Fixed:
- Typing for
getEntityPublishPayloadinOTAUpdate
For https://github.com/Koenkk/zigbee2mqtt/pull/24200/commits/7b402b4c9ce39f534758f883747ee8e2d0e10c96
Removed:
/bridge/config/*- Settings in
advanced:- availability_timeout
- availability_blocklist
- availability_passlist
- availability_blacklist
- availability_whitelist
- soft_reset_timeout
- report
- Unused zigbee-herdsman wrapper API
reset - Unused device API
isIkeaTradfri - Unused utils
I figure we do a separate PR at the end to cleanup all removed settings from settings.schema.json and the necessary changes in settings.ts?
For https://github.com/Koenkk/zigbee2mqtt/pull/24200/commits/7f4e15f39012cea3b23fde57ac53fe2c29f12cc8
Removed:
/bridge/configurelegacy_availability_payloadsettinglegacy_apisetting- Legacy stuff from
configure(previously missed, wasn't usinglegacy_apisetting)
@Koenkk I'll let you do the stuff for HA. A search for legacy (whole-repo) should identify most remaining points.
Removed some leftovers and create a PR for the docs: https://github.com/Koenkk/zigbee2mqtt.io/pull/3094
Ready for merge?
There's the HA legacy stuff left to do. You're going to do that in a separate PR?
Yes will do the HA stuff in a separate PR
How about these? https://github.com/Koenkk/zigbee2mqtt/blob/e06848db8c5ad247c27e959eb85465a30134769f/lib/extension/bridge.ts#L73-L77