mirror of
https://github.com/home-assistant/core.git
synced 2026-09-12 02:34:48 -05:00
* Add air quality sensor for Tradfri fan platform * Refactor, use entity description * Fix typo * CHange init docstring * Let lambda handle special case * Remove unique id * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Refactor to constants, add mixin * Rename lambda * Update homeassistant/components/tradfri/sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/tradfri/sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/tradfri/sensor.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Replace lambda with function * Refactor device init * Remove fixture scope Co-authored-by: Martin Hjelmare <marhje52@gmail.com>