Skip to content

Commit 077f9b5

Browse files
committed
Prefix appliance device names with gridX for unique entity IDs
1 parent 1dcd490 commit 077f9b5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

custom_components/gridx/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "gridx",
33
"name": "gridX Energy Management",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"integration_type": "hub",
66
"config_flow": true,
77
"iot_class": "cloud_polling",

custom_components/gridx/sensor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,15 +495,15 @@ def device_info(self) -> DeviceInfo:
495495
# ---------------------------------------------------------------------------
496496

497497
_APPLIANCE_CONFIG: list[tuple[str, str, tuple, str]] = [
498-
("batteries", "Battery", BATTERY_SENSOR_DESCRIPTIONS, "batteries"),
499-
("heat_pumps", "Heat Pump", HEAT_PUMP_SENSOR_DESCRIPTIONS, "heat_pumps"),
498+
("batteries", "gridX Battery", BATTERY_SENSOR_DESCRIPTIONS, "batteries"),
499+
("heat_pumps", "gridX Heat Pump", HEAT_PUMP_SENSOR_DESCRIPTIONS, "heat_pumps"),
500500
(
501501
"ev_charging_stations",
502-
"EV Charger",
502+
"gridX EV Charger",
503503
EV_CHARGER_SENSOR_DESCRIPTIONS,
504504
"ev_charging_stations",
505505
),
506-
("heaters", "Heater", HEATER_SENSOR_DESCRIPTIONS, "heaters"),
506+
("heaters", "gridX Heater", HEATER_SENSOR_DESCRIPTIONS, "heaters"),
507507
]
508508

509509

0 commit comments

Comments
 (0)