1
mirror of https://github.com/home-assistant/core synced 2024-09-28 03:04:04 +02:00
ha-core/homeassistant
Franck Nijhof 78b83c653a
Add WLED integration (#28542)
* Add WLED integration

* Use f-string for uniq id in sensor platform

* Typing improvements

* Removes sensor & light platform

* Remove PARALLEL_UPDATES from integration level

* Correct type in code comment 'themselves'

* Use async_track_time_interval in async context

* Remove stale code

* Remove decorator from Flow handler

* Remove unused __init__ from config flow

* Move show form methods to sync

* Only wrap lines that can raise in try except block

* Remove domain and platform from uniq id

* Wrap light state in bool object in is_on method

* Use async_schedule_update_ha_state in async context

* Return empty dict in device state attributes instead of None

* Remove unneeded setdefault call in setup entry

* Cancel update timer on entry unload

* Restructure config flow code

* Adjust tests for new uniq id

* Correct typo AdGuard Home -> WLED in config flow file comment

* Convert internal package imports to be relative

* Reformat JSON files with Prettier

* Improve tests based on review comments

* Add test for zeroconf when no data is provided

* Cleanup and extended tests
2019-11-06 23:55:39 +01:00
..
auth Almond integration (#28282) 2019-10-28 23:47:31 -07:00
components Add WLED integration (#28542) 2019-11-06 23:55:39 +01:00
generated Add WLED integration (#28542) 2019-11-06 23:55:39 +01:00
helpers Remove legacy reproduce state (#28458) 2019-11-04 11:12:04 +01:00
scripts
util Bump black to 19.10b0 (#28310) 2019-10-28 23:32:34 -07:00
__init__.py
__main__.py
bootstrap.py
config_entries.py Add source constants for all config entry discovery sources (#28311) 2019-10-28 23:32:57 -07:00
config.py Add config endpoint for scene (#28429) 2019-11-04 12:38:18 -08:00
const.py Add OAuth2 config flow scaffold (#28220) 2019-10-29 20:34:03 -07:00
core.py
data_entry_flow.py
exceptions.py
loader.py Bump black to 19.10b0 (#28310) 2019-10-28 23:32:34 -07:00
monkey_patch.py
package_constraints.txt Add additional support over NC (#28527) 2019-11-05 22:39:15 +01:00
requirements.py Also install after_deps (#28453) 2019-11-01 17:21:50 -07:00
setup.py Check for import errors before validating config (#28395) 2019-10-31 11:38:06 -07:00