Anders Melchiorsen
a5402739b7
Keep the repeat mode when setting Sonos shuffle mode ( #17083 )
...
* Keep the repeat mode when setting Sonos shuffle mode
* Fix test
2018-10-03 14:50:13 +02:00
Pascal Vizeli
704c9d8582
Add support for Hass.io discovery feature for Add-ons ( #17035 )
...
* Update handler.py
* Update __init__.py
* Update handler.py
* Update __init__.py
* Create discovery.py
* Update handler.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update struct
* Update handler.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update discovery.py
* Update __init__.py
* Update discovery.py
* fix lint
* Update discovery.py
* cleanup old discovery
* Update discovery.py
* Update discovery.py
* Fix lint
* Fix tests
* Write more tests with new functions
* Update test_handler.py
* Create test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update conftest.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Update test_discovery.py
* Fix test
* Add test
* fix lint
* Update handler.py
* Update discovery.py
* Update test_discovery.py
* fix lint
* Lint
2018-10-03 13:10:38 +02:00
cdce8p
7f0a50ce31
async_create_task ( #17059 )
...
* async_create_task
* Update google.py
2018-10-02 11:03:09 +02:00
cdce8p
90f71261c5
Remove service helper (8) ( #17055 )
...
* Updated keyboard
* Updated microsoft_face
* Updated ffmpeg
* Updated logger
* Updated components/__init__.py
2018-10-02 10:23:37 +02:00
Malte Franken
13af61e103
GeoRSS events sensor refactored ( #16939 )
...
* refactored geo_rss_events sensor to make use of new georss-client library that handles the communication with the rss feed
* fixed lint error
2018-10-02 10:20:51 +02:00
Nicko van Someren
b0b3620b2b
Added working support for private storage ( #16903 )
...
* Fixed file corruption bugs in private storage code.
* Restoring fixed test case.
* Implemented test suite for utils/json.py
* Added new unit test cases for util/json.py
* Dixed formatting nags
* Fixed more nags from the Hound
* Added doc strings to some very short functions
* Fixing lint's complains about my choice of parts of speach. Sigh.
* Moved atomic save operations down into util/json.py so that all benefit.
Added extra clean-up code to ensure that temporary files are removed in
case of errors.
Updated emulated_hue unit tests to avoid errors.
* Apparently 'e' is not allows as a variable name for an exception...
2018-10-02 10:16:43 +02:00
cdce8p
c3eff5773b
Remove alert service helper ( #17038 )
2018-10-02 00:33:45 +02:00
Paulus Schoutsen
fbc1c41673
Logbook context ( #16937 )
...
* Convert logbook to use attr
* Add context to events
* Enhance logbook
* Lint
* Fix logbook entry
* Don't use intermediary classes for logbook entries
2018-10-01 16:12:25 +02:00
Paulus Schoutsen
2e6346ca43
Break up websocket 2 ( #17028 )
...
* Break up websocket 2
* Lint+Test
* Lintttt
* Rename
2018-10-01 16:09:31 +02:00
Paulus Schoutsen
c69a790ede
Add Hass.io discovery to MQTT ( #16962 )
...
* Add Hass.io discovery to MQTT
* Update en.json
* Update __init__.py
* Update config_flow.py
* Update strings.json
* Update test_config_flow.py
* Lint
* Ensure we don't send bad data in config entry
2018-10-01 14:11:21 +02:00
Paulus Schoutsen
22a80cf733
Break up websocket component ( #17003 )
...
* Break up websocket component
* Lint
2018-10-01 11:21:00 +02:00
Paulus Schoutsen
f5632a5da5
Add webhook + IFTTT example ( #16817 )
...
* Add webhook + IFTTT example
* Abort if not externally accessible
* Abort on local url
* Add description to create entry
* Make body optional
* Allow ifttt setup without config
* Add tests
* Lint
* Fix Lint + Tests
* Fix typing
2018-09-30 14:45:48 +02:00
Otto Winter
45fdda3f5d
Add unique_id to MQTT fan ( #16949 )
2018-09-29 21:22:57 +02:00
Otto Winter
3ddad83a84
Add unique_id to MQTT cover ( #16950 )
...
* Add unique_id to MQTT cover
* Fix tests
2018-09-29 20:54:57 +02:00
Jan van Helvoort
7d1960baba
Add zwave.network_complete_some_dead event ( #16894 )
...
* Add zwave.network_complete_some_dead event
* add missing comma
* typo
* Add SIGNAL_AWAKE_NODES_QUERIED_SOME_DEAD Test
* Add blank lines
* fix linter warnings
Line too long
* remove trailing whitespace
* Change test signal
* Listen to other event
2018-09-28 19:14:57 +02:00
Otto Winter
af89e7c50f
Move more MQTT platforms to config entries ( #16918 )
...
* Move more MQTT platforms to config entries
* Address comments
2018-09-28 16:57:17 +02:00
Otto Winter
c9b6567265
Remove discovered mqtt_json light entity when discovery is cleared ( #16906 )
...
* Remove discovered mqtt_json entity device when discovery topic is cleared
* Keep imports ordered
2018-09-28 00:25:51 +02:00
cdce8p
f879ac0993
Remove service helper (6) ( #16920 )
...
* Update automation
* Update group
* Async_create_task
2018-09-27 23:14:09 +02:00
cdce8p
70b901017f
Remove service helper (5) ( #16917 )
...
* Update switch
* Update script
* Update light
* Fix tests
* Fix config/script hook
* Async_create_task
* Fix flux switch
2018-09-27 23:13:11 +02:00
Paulus Schoutsen
a7248d4574
Handle exception handling websocket command ( #16927 )
...
* Handle exception handling websocket command
* lint
* Lint2
2018-09-27 23:10:07 +02:00
Paulus Schoutsen
81e21b90c9
Fix auth redirect ( #16914 )
...
* Fix auth redirect
* Remove old test
2018-09-27 09:02:50 -07:00
Otto Winter
d1ad2cc225
Make MQTT platforms config entries ( #16904 )
...
* Make MQTT platforms config entries
* Fix tests
* Address Comment
* Rework tests
* Undo style auto-reformat style changes
2018-09-27 16:07:56 +02:00
Blake Blackshear
2cc6263092
Add new services for set/refresh Z-Wave device values ( #16638 )
...
* Add services for getting and setting indicator values for Z-Wave
* Add service to manually refresh Z-Wave node value by value_id
* Remove refresh_indicator service
* Coerce to int
* Add generic set_node_value service
* Remove set_indicator service
2018-09-27 12:34:42 +02:00
Paulus Schoutsen
da3342f1aa
Update new values coming in for dev registry ( #16852 )
...
* Update new values coming in for dev registry
* fix Lint+Test;2C
2018-09-27 11:26:58 +02:00
Anders Melchiorsen
726cf9b1c4
Remove unused import ( #16909 )
...
* Remove unused import
* Revert test usage
2018-09-27 00:21:29 +02:00
Paulus Schoutsen
273a7af330
Prevent discovered Tradfri while already configured ( #16891 )
...
* Prevent discovered Tradfri while already configured
* Lint
2018-09-26 18:03:25 +02:00
cdce8p
4b674b1d16
Remove unused legacy test helper methods ( #16893 )
2018-09-26 18:03:13 +02:00
cdce8p
dd45e99302
Remove service helper (4) ( #16892 )
...
* Update media_player
* Update lock
* Update notify
* Update remote
* Update scene
* Update vacuum
* Remove timer helpers
* Removed unused legacy helpers
2018-09-26 18:02:05 +02:00
Nicko van Someren
e5861241c7
Added support for private storage. ( #16878 )
...
* Addded support for private storage.
Include 'private' flag parameters to the Store class and save_json function.
Updated various authentication and onboarding classes to use private stores.
Fixed unit test for emulated_hue which used a mock patch on save_json().
* Fixed Hound formatting issues not detected by local linting.
2018-09-26 10:24:32 +02:00
cdce8p
fa98a27df7
Remove service helper (2) ( #16863 )
...
* alarm_control_panel
* automation
* camera
* climate
* counter
* fan
* Add legacy notes
* Fix tests
2018-09-26 09:49:55 +02:00
Jason Hu
92a5068977
Use HA native OAuth2 flow for google assistant components ( #16848 )
...
* Use HA native OAuth2 flow for google assistant components
* Lint
* Force breaking changes
* Fix CONFIG_SCHEMA
2018-09-26 08:57:55 +02:00
cdce8p
bfa1c55803
Fix fan_init test ( #16865 )
...
* Fix fan_init test
* Readd __init__.py
2018-09-26 08:53:24 +02:00
cdce8p
e2a56721d3
Remove service helper (3) ( #16879 )
...
* Update duckdns
* Update google_assistant
* Update group
* Update homematic
* Update image_processing
* Update input_boolean
* Update input_number
* Update input_select
* Update input_text
2018-09-26 08:50:05 +02:00
cdce8p
b91a061cef
Add missing __init__ test files ( #16871 )
2018-09-25 23:08:37 +02:00
cdce8p
7eaf8640d0
Update cover tests ( #16832 )
...
* Update test_group
* Update test_command_line
* Update test_demo
* Update test_mqtt
* Update test_template
* Remove cover service call helpers
2018-09-25 22:32:05 +02:00
emontnemery
4501bdb4a0
Remove discovered MQTT cover device when discovery topic is cleared ( #16857 )
2018-09-25 19:32:42 +02:00
emontnemery
4a265f37e0
Remove discovered MQTT fan device when discovery topic is cleared ( #16858 )
2018-09-25 19:32:31 +02:00
emontnemery
c3f58b8c74
Remove discovered MQTT lock device when discovery topic is cleared ( #16859 )
2018-09-25 19:32:25 +02:00
emontnemery
422ccc1a28
Remove discovered MQTT sensor device when discovery topic is cleared ( #16860 )
2018-09-25 19:32:16 +02:00
emontnemery
eb59f2dd3c
Move MQTT discovery removal tests to platform test files ( #16861 )
2018-09-25 19:32:04 +02:00
Paulus Schoutsen
399040de46
Fix files left behind ( #16855 )
...
* Light demo test to not write entity registry
* Fix Manual MQTT alarm control panel
2018-09-25 17:19:46 +02:00
emontnemery
0dbfd77402
Remove discovered MQTT climate device when discovery topic is cleared ( #16856 )
2018-09-25 17:15:39 +02:00
Paulus Schoutsen
a1c914dfeb
On removal, only unload config entry if loaded ( #16844 )
...
* On removal, only unload config entry if loaded
* Fix test
2018-09-25 14:29:13 +02:00
emontnemery
093285f92f
Remove discovered MQTT binary_sensor device when discovery topic is cleared ( #16826 )
2018-09-25 14:25:03 +02:00
Paulus Schoutsen
7840b1e387
Fix MQTT leaving files behind ( #16840 )
2018-09-25 12:22:27 +02:00
Paulus Schoutsen
e4898bb05c
Allow MQTT discovery ( #16842 )
2018-09-25 12:22:14 +02:00
Paulus Schoutsen
2b2502c91c
Support old tradfri config format ( #16841 )
2018-09-25 11:57:32 +02:00
Paulus Schoutsen
4f9fc9b39f
Don't create entity registry in tests ( #16838 )
2018-09-25 10:16:30 +02:00
emontnemery
90197b6ec9
Remove discovered MQTT light device when discovery topic is cleared ( #16824 )
2018-09-25 09:19:04 +02:00
emontnemery
42790d3e97
Remove discovered MQTT alarm_control_panel device when discovery topic is cleared ( #16825 )
2018-09-25 08:44:14 +02:00