* Add fan support to deconz * Fix gateway test * Fix lint issue * Apply suggestions from code review * Fix black * Improve tests * Store previously used speed in case turn_on service is called without a speed attribute * Fix tests Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>