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