Joakim Plate
67038c6ba8
Rewrite rfxtrx init logic to do away with global object ( #37699 )
...
* Rewrite init logic to do away with global object
* Put constant at end
* Use a set instead of list for device_ids
2020-07-10 14:52:07 +02:00
Joakim Plate
a3310330f4
Split handling and application of event ( #37665 )
...
This way _handle_event can contain things available
when entity has been added to home assistant,
and _apply event can remain internal and used on init.
2020-07-09 11:40:37 +02:00
Joakim Plate
2088092f7c
Switch rfxtrx to dispatcher ( #37271 )
...
* Switch to dispatcher
* Adjust tests for dispatcher
* Store device in sensor
* Move state application into binary sensor entity class
* Move more specifics into per platform classes
* Should not apply event in init of sensor
* Switch to call_later
* Make apply_event public
* No point in slugifying debug logs
* Adjust error in off delay and event
* Make sure we match with masked id
2020-07-06 00:10:26 +02:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Ernst Klamer
5617e6913b
Add state to RFXtrx covers ( #30935 )
...
* Add state to rfxtrx cover
* Add state to rfxtrx cover (cover.py)
2020-04-16 15:07:55 +02:00
Ernst Klamer
77978a979b
Restore state for Rfxtrx devices ( #30309 )
...
* Restore state rfxtrx switch
* Restore state RFXtrx lights
* Restore state RFXtrx covers
* Restore comment
* Remove line
* Remove logging
* fix black
* Fix typo
2020-01-02 07:59:13 +01:00
foxy82
a08e3d7352
Update rfxtrx component so it can be run as a custom_component ( #29638 )
...
* Updating rfxtrx component so it can be run as a custom_component
* Fix pylint errors
* Fix pylint errors
* Fix pylint error on dict.
* isort
2019-12-11 15:58:49 +01:00
javicalle
40e5beb0ed
Move imports in rfxtrx component ( #27549 )
2019-10-12 12:37:59 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00