Closed bachya closed 2 years ago
lametric documentation lametric source (message by IssueLinks)
Hey there @robbiet480, @frenck, mind taking a look at this issue as it has been labeled with an integration (lametric
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
Based on the data returned by my device (in the description above), this looks like an upstream issue wherein python-demetriek
expects wifi info to include a rssi
field: https://github.com/frenck/python-demetriek/blob/b492f9d0edcd43624ed1066554dfdf49cb388344/src/demetriek/models.py#L73. Will post an issue there.
The problem
I got the below stacktrace when I recently restarted HASS. Prior to this, the LaMetric integration had been working great. I can confirm that the device is connected to WiFi and nothing on the network has changed.
What version of Home Assistant Core has the issue?
core-2022.9.4
What was the last working version of Home Assistant Core?
core-2022.9.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
LaMetric
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lametric/
Diagnostics information
I don't believe diagnostics have been developed for this integration.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Since this integration doesn't support diagnostics, I patched the example script provided by
python-demetriek
to get device JSON before the exception is raised: