From ee7be37ba697ac92c163f20f357ae6e601fe97e1 Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Tue, 20 Jan 2026 20:01:29 +0100 Subject: [PATCH] Add shared hass.data keys/constants for cleaner integration state storage (local) --- dev/custom_components/sws12500/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/custom_components/sws12500/data.py b/dev/custom_components/sws12500/data.py index 1dec410..54e74ea 100644 --- a/dev/custom_components/sws12500/data.py +++ b/dev/custom_components/sws12500/data.py @@ -1,8 +1,8 @@ """Shared keys and helpers for storing integration runtime state in hass.data. This integration uses `hass.data[DOMAIN][entry_id]` as a per-entry dictionary. -Keeping keys in one place prevents subtle bugs where different modules -store different value types under the same key. +Keeping keys in one place prevents subtle bugs where different modules store +different value types under the same key. """ from __future__ import annotations