diff --git a/custom_components/sunpower/entity.py b/custom_components/sunpower/entity.py index 103d174..153ab54 100644 --- a/custom_components/sunpower/entity.py +++ b/custom_components/sunpower/entity.py @@ -48,7 +48,7 @@ def device_info(self): "manufacturer": "SunPower", "model": self._meter_info["MODEL"], "sw_version": self._meter_info["SWVER"], - "via_device": self._pvs_info["SERIAL"], + "via_device": (DOMAIN, self._pvs_info["SERIAL"]), } return device_info @@ -72,6 +72,6 @@ def device_info(self): "manufacturer": self._inverter_info["TYPE"], "model": self._inverter_info["MODEL"], "sw_version": self._inverter_info["SWVER"], - "via_device": self._pvs_info["SERIAL"], + "via_device": (DOMAIN, self._pvs_info["SERIAL"]), } return device_info