Settings backups¶

A device's side panel has a Configuration section that backs up everything ZHA knows how to set on each endpoint:
- power-on behaviour, dimming levels and speeds;
- maker-specific settings its quirk defines, such as SONOFF's detached-relay mode and network LED;
- with its groups and bindings, model and firmware.
Not the same as a Zigbee network backup
Home Assistant and ZHA already back up your Zigbee network: the coordinator's keys and the list of paired devices, so you can move to a new coordinator without re-pairing everything. That backup holds nothing from inside each device.
A device configuration backup is the opposite: the settings stored on one device, such as power-on behaviour, detached-relay mode or its network LED, plus its groups and bindings. A factory reset or a re-pair wipes those, and the network backup can't bring them back. This puts back everything it was able to save; see What isn't saved.
Back up now saves one. Mains devices are also backed up automatically after a scan, once a week. The last 5 are kept, plus the first read after a device is paired again (its factory settings).
What you can do with a backup¶

- View and restore…: the saved settings next to what the device has now. The ones that differ are ticked; Write sends them and reads each one back. Each result says whether it was restored, refused by the device, or didn't stick.
- Apply to another device…: copy settings to another device, of the same model or not. See Copy settings to another device.
- Export and Import…: keep a backup as a file.
- Restore everything after a re-pair, and Copy settings… at the end of a replace, use it too.
What isn't saved¶
Settings ZHA has no definition for, because there's no safe way to write them back. Also never saved: Basic, Identify, Groups, Scenes, Time, OTA, Poll Control and Diagnostics, and On/Off's timers.