Commit Graph

8 Commits (e63e8b6ffe627dce8ee7574c652af99267eb7376)

Author SHA1 Message Date
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