Commit Graph

9 Commits (de9f22f308754b9b74370d02a5c7cd4ff6948d1d)

Author SHA1 Message Date
J. Nick Koston 1dd9e705f2
Switch dispatcher to use async_run_hass_job ()
* Switch dispatcher to use async_run_hass_job

- Since we already wrap all the callbacks in catch_log_exception
  we can use async_run_hass_job here

- The overhead of wrapping the call in a call_soon, queuing it
  and running it later usually exceeds the overhead of running
  the job itself

* fix size change during iteration

* fix out of order send

* fix missing mocking in unifi test

* Fix Legrand Home+ Control updating entities before the coordinator update had finished

* stray debug
2022-07-07 10:39:05 -05:00
epenet 6540ba6239
Remove hassio from mypy ignore list ()
* Remove hassio from mypy ignore list

* Avoid if TYPE_CHECKING
2022-07-07 15:14:36 +02:00
Marc Mueller 983a76a91c
Update pylint to 2.14.0 () 2022-06-06 21:43:47 +02:00
epenet 6f631c542c
Import hassio ()
* Import hassio

* Fix HassioAPIError

* Use relative import

* Adjust import

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 19:03:26 +01:00
Joakim Sørensen 8a5df5f7eb
Fix ingress for non admin () 2021-11-29 23:03:16 +01:00
Joakim Sørensen a5806b59f2
Raise HassioAPIError when error is returned ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-19 08:23:43 -07:00
Joakim Sørensen 7d90cdea1e
Use dispatch instead of eventbus for supervisor events ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-25 19:52:11 +01:00
Joakim Sørensen 68809e9f43
Fix issue with timeout and error response () 2021-02-15 20:08:08 +01:00
Joakim Sørensen 886067a327
Add websocket handlers to hassio () 2021-02-15 18:18:45 +01:00