From 52627dac6815dff2abc18c5d499b9a0417bd97a5 Mon Sep 17 00:00:00 2001 From: S'Bussiso Dube <80188685+Sbussiso@users.noreply.github.com> Date: Thu, 10 Sep 2026 14:40:58 -0700 Subject: [PATCH] Retire the cloudnode name here too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missed in the cross-repo rename — I scoped it to Sentinel-CameraNode and Sentinel-Command and did not check this integration. Four of the five hits are comments. The fifth is not: `model="Sentinel CloudNode"` is the device model Home Assistant renders in its own UI, so anyone adding this integration saw their node listed under a name the product stopped using two brands ago. Safe to change because device identity is keyed on `identifiers` (`node:`), not on `model` — existing devices keep their identity and simply display the corrected name. Co-Authored-By: Claude Opus 5 --- custom_components/sentinel/entity.py | 2 +- custom_components/sentinel/sensor.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/custom_components/sentinel/entity.py b/custom_components/sentinel/entity.py index 154b66a..64872e3 100644 --- a/custom_components/sentinel/entity.py +++ b/custom_components/sentinel/entity.py @@ -38,7 +38,7 @@ def device_info(self) -> DeviceInfo: ) node_id = cam.get("node_id") if node_id: - # Link the camera device under its CloudNode device (created by + # Link the camera device under its CameraNode device (created by # the sensor platform with the same identifier). info["via_device"] = (DOMAIN, f"node:{node_id}") return info diff --git a/custom_components/sentinel/sensor.py b/custom_components/sentinel/sensor.py index c3be0a0..5e2ea99 100644 --- a/custom_components/sentinel/sensor.py +++ b/custom_components/sentinel/sensor.py @@ -1,4 +1,4 @@ -"""Sensors — per-CloudNode storage + version diagnostics.""" +"""Sensors — per-CameraNode storage + version diagnostics.""" from __future__ import annotations @@ -42,7 +42,7 @@ def _sync() -> None: class _NodeEntity(CoordinatorEntity): - """Base for entities on a CloudNode device.""" + """Base for entities on a CameraNode device.""" _attr_has_entity_name = True @@ -67,7 +67,7 @@ def device_info(self) -> DeviceInfo: identifiers={(DOMAIN, f"node:{self._node_id}")}, name=node.get("name") or self._node_id, manufacturer=MANUFACTURER, - model="Sentinel CloudNode", + model="Sentinel CameraNode", sw_version=node.get("version"), ) @@ -103,7 +103,7 @@ def extra_state_attributes(self) -> dict: class SentinelNodeVersionSensor(_NodeEntity, SensorEntity): - """The node's reported CloudNode version.""" + """The node's reported CameraNode version.""" _attr_name = "Version" _attr_entity_category = EntityCategory.DIAGNOSTIC