upgrade zigbee2mqtt
sudo systemctl stop zigbee2mqtt
cd /opt/zigbee2mqtt
cp -R data data-backup
git checkout HEAD -- npm-shrinkwrap.json
git pull
rm -rf node_modules
npm install
cp -R data-backup/* data
rm -rf data-backup
sudo systemctl start zigbee2mqtt
Comentários