jan iversen
55534cfedd
When tradfri device goes offline set attr_available false ( #58487 )
2021-10-27 18:27:16 +02:00
Patrik Lindgren
c950f1ccfa
Initial support for Tradfri STARKVIND Air purifier ( #58295 )
...
* Initial commit
* Update homeassistant/components/tradfri/const.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Feedback
* Updates
* Remove logger
* Fix codestring
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Percent value
* Add tests
* Typo
* Update tests
* Fix util function
* Update homeassistant/components/tradfri/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update after review
* Review
* Coverage
* Fix test
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-25 08:15:46 +02:00
epenet
176ed4f7ba
Use DeviceInfo on components with via_device (I-T) ( #58212 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 12:31:12 +02:00
Marc Mueller
d51487f82a
Import Callable from collections.abc (3) ( #56777 )
2021-09-29 16:19:06 +02:00
jan iversen
93e9a67d7d
Make tradfri base_class.py strictly typed ( #56341 )
...
* Make base_class.py strictly typed.
2021-09-20 14:33:50 +02:00
jan iversen
9b710cad5d
Add strict typing to tradfri __init__ and switch ( #56002 )
...
* Add strict typing to __init__ and switch.
* Review comments.
* Review comments.
* Corrected switch.
2021-09-18 23:24:35 +02:00
jan iversen
0dd128af77
Change fix property to _attr for tradfri ( #55691 )
2021-09-06 08:49:00 +02:00
Martin Hjelmare
b6630a48b2
Add tradfri api call error handling ( #39681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-05 23:02:32 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
springstan
9fbb345ce0
Move imports to top for tradfri ( #29247 )
2019-11-30 21:23:39 -08:00
Patrik
86347a3d5f
Refactor Tradfri light group ( #27714 )
...
* Set same manufacturer name of gateway as of devices
* Refactor Tradfri light group
* Restore should_poll and async_update
2019-10-21 21:42:17 +02:00
Patrik
3454b6fa87
Refactor Tradfri base class ( #27589 )
...
* Refactor Tradfri base class
* Clarify doc
* Fix pylint
* Review fix
* Move
2019-10-13 13:59:28 -07:00
Patrik
78e9bba279
Refactor Tradfri constants ( #27334 )
...
* Refactor constants
* Rename constant
* Rename constant
* Rename constant
* Review update
* Remove duplicate constant
* Reorder constants
* Dont refresh features
* Order package imports
* Fix bug
* Put back features in refresh
* Fix import order
* Refactor supported features
* Refactor supported features, take 2
2019-10-09 12:56:16 -07:00
Patrik
1059cea28f
Refactor IKEA Tradfri, part 2 ( #27245 )
...
* Add more device info data
* Add attributes to device_info
* Refactor sensor
* Filter
devices
* Update following review
* Update following review
* Add device_Class
2019-10-06 19:24:56 +02:00
Patrik
5ae497bfdc
Refactor Tradfri switch device ( #26864 )
...
* Refactor Tradfri switch device
* Lint
* Lint
* Removed unused constant
* Add base_class
* Lint
* Improvements after review
* Typo
2019-10-05 12:46:16 -07:00