diff --git a/custom_components/froeling_lambdatronic_modbus/__init__.py b/custom_components/froeling_lambdatronic_modbus/__init__.py index 48eae4f..c80364f 100644 --- a/custom_components/froeling_lambdatronic_modbus/__init__.py +++ b/custom_components/froeling_lambdatronic_modbus/__init__.py @@ -6,7 +6,7 @@ from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.const import Platform -DOMAIN = "froeling_modbus" +DOMAIN = "froeling_lambdatronic_modbus" async def async_setup(hass, config): return True diff --git a/custom_components/froeling_lambdatronic_modbus/binary_sensor.py b/custom_components/froeling_lambdatronic_modbus/binary_sensor.py index 9d86d9d..6dba716 100644 --- a/custom_components/froeling_lambdatronic_modbus/binary_sensor.py +++ b/custom_components/froeling_lambdatronic_modbus/binary_sensor.py @@ -59,7 +59,7 @@ class FroelingBinarySensor(BinarySensorEntity): @property def name(self): - translated_name = self._translations.get(f"component.froeling_modbus.entity.binary_sensor.{self._entity_id}.name", self._entity_id) + translated_name = self._translations.get(f"component.froeling_lambdatronic_modbus.entity.binary_sensor.{self._entity_id}.name", self._entity_id) return f"{self._device_name} {translated_name}" @property @@ -99,7 +99,7 @@ class FroelingSensor(BinarySensorEntity): @property def name(self): - translated_name = self._translations.get(f"component.froeling_modbus.entity.binary_sensor.{self._entity_id}.name", self._entity_id) + translated_name = self._translations.get(f"component.froeling_lambdatronic_modbus.entity.binary_sensor.{self._entity_id}.name", self._entity_id) return f"{self._device_name} {translated_name}" @property diff --git a/custom_components/froeling_lambdatronic_modbus/const.py b/custom_components/froeling_lambdatronic_modbus/const.py index dd028c1..8774bdb 100644 --- a/custom_components/froeling_lambdatronic_modbus/const.py +++ b/custom_components/froeling_lambdatronic_modbus/const.py @@ -1 +1 @@ -DOMAIN = "froeling_modbus" \ No newline at end of file +DOMAIN = "froeling_lambdatronic_modbus" \ No newline at end of file diff --git a/custom_components/froeling_lambdatronic_modbus/manifest.json b/custom_components/froeling_lambdatronic_modbus/manifest.json index 35ae351..1e6bb1a 100644 --- a/custom_components/froeling_lambdatronic_modbus/manifest.json +++ b/custom_components/froeling_lambdatronic_modbus/manifest.json @@ -1,5 +1,5 @@ { - "domain": "froeling_modbus", + "domain": "froeling_lambdatronic_modbus", "name": "Froeling Lambdatronic Modbus", "version": "1.0.0", "documentation": "https://github.com/GyroGearl00se/hacs_froeling_lambdatronic_modbus", diff --git a/custom_components/froeling_lambdatronic_modbus/number.py b/custom_components/froeling_lambdatronic_modbus/number.py index 19a7adf..c89a819 100644 --- a/custom_components/froeling_lambdatronic_modbus/number.py +++ b/custom_components/froeling_lambdatronic_modbus/number.py @@ -81,7 +81,7 @@ class FroelingNumber(NumberEntity): @property def name(self): - translated_name = self._translations.get(f"component.froeling_modbus.entity.number.{self._entity_id}.name", self._entity_id) + translated_name = self._translations.get(f"component.froeling_lambdatronic_modbus.entity.number.{self._entity_id}.name", self._entity_id) return f"{self._device_name} {translated_name}" @property diff --git a/custom_components/froeling_lambdatronic_modbus/sensor.py b/custom_components/froeling_lambdatronic_modbus/sensor.py index 7230c65..9cbf972 100644 --- a/custom_components/froeling_lambdatronic_modbus/sensor.py +++ b/custom_components/froeling_lambdatronic_modbus/sensor.py @@ -111,7 +111,7 @@ class FroelingSensor(SensorEntity): @property def name(self): - translated_name = self._translations.get(f"component.froeling_modbus.entity.sensor.{self._entity_id}.name", self._entity_id) + translated_name = self._translations.get(f"component.froeling_lambdatronic_modbus.entity.sensor.{self._entity_id}.name", self._entity_id) return f"{self._device_name} {translated_name}" @property @@ -263,7 +263,7 @@ class FroelingTextSensor(SensorEntity): @property def name(self): - translated_name = self._translations.get(f"component.froeling_modbus.entity.sensor.{self._entity_id}.name", self._entity_id) + translated_name = self._translations.get(f"component.froeling_lambdatronic_modbus.entity.sensor.{self._entity_id}.name", self._entity_id) return f"{self._device_name} {translated_name}" @property