Skip to content

Commit

Permalink
looks like the assication link just needs the domain as part of the k…
Browse files Browse the repository at this point in the history
…ey (#60)
  • Loading branch information
krbaker authored Apr 10, 2024
1 parent 030c297 commit dc47308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/sunpower/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit dc47308

Please sign in to comment.