mirror of
https://github.com/home-assistant/core.git
synced 2026-09-12 18:25:41 -05:00
* Move util functions * Fix errors * Revert changes * Fix tests * Use self.async_set_percentage() * Fix calculation functions and associated tests * Handle case of 0 * Update tests/components/tradfri/test_util.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/tradfri/test_util.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update tests/components/tradfri/test_util.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Handle case of 0 * Update homeassistant/components/tradfri/fan.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>