361 files

This commit is contained in:
Home Assistant Version Control
2026-10-06 17:11:43 +00:00
parent d2c5af43e3
commit bf886c9347
362 changed files with 22060 additions and 1285 deletions
@@ -227,6 +227,13 @@ def _build_export_object(
# gallery) — only emitted when set, like the fleet flag below.
if obj_data.get("template_id"):
export_obj["template_id"] = obj_data["template_id"]
# 2026-10 places — only when set, so an object at home exports as before.
# A zone id is instance-specific: on another instance without that zone
# the object behaves as at home and the panel says the zone is missing.
if obj_data.get("place"):
export_obj["place"] = obj_data["place"]
if obj_data.get("remind_on_site") is True:
export_obj["remind_on_site"] = True
# Battery fleet identity — only emitted for the fleet object so a plain
# object's export stays byte-identical to earlier versions. The importer
# mirrors these (and keeps the deterministic ``batt_<type>`` part ids).