core/homeassistant/components/deconz
Lev Aronsky 111e515da7 Fix a problem with calling `deconz.close` (#12657)
* Fix a problem with calling `deconz.close`

The event object (`EVENT_HOMEASSISTANT_STOP`) is sent as an argument to
the callable passed to `async_listen_once`. However, `deconz.close` is a bound method
that takes no arguments. Therefore, it needs a wrapper to discard the event
object.

* Removed unnecessary code and added a docstring.

* Fix the docstring according to guidelines.

* Removed unnecessary whitespace.
2018-02-27 07:31:47 +01:00
..
__init__.py Fix a problem with calling `deconz.close` (#12657) 2018-02-27 07:31:47 +01:00
services.yaml Improve service by allowing to reference entity id instead of deconz id (#11862) 2018-02-13 16:23:03 -08:00