Commit Graph
2 Commits
Author SHA1 Message Date
Jan-Philipp Litza 2a45738d97 Add state_class MEASUREMENT to lacrosse temperature and humidity sensors (#79379) 2022-09-30 23:37:50 +03:00
Jan-Philipp Litza 4018d0a152 Correctly close lacrosse on homeassistant stop (#47555)
Since lacrosse.close() takes no arguments, but was directly added as a
listener to EVENT_HOMEASSISTANT_STOP, the following occured on shutdown:

Traceback (most recent call last):
  File "/usr/lib/python/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
TypeError: close() takes 1 positional argument but 2 were given
2021-03-07 13:53:48 +01:00