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
Blake Blackshear
f13f723a04
Add bitwise operations as template helpers ( #16833 )
2018-09-26 11:57:16 +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
f4974f58fe
Config entry update data ( #16843 )
...
* WIP
* Allow updating data of a config entry
2018-09-25 12:21:11 +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
Paulus Schoutsen
e78f4d1b65
Extract lovelace to it's own component ( #16816 )
...
* Extract lovelace to it's own component
* Lint
* Update comment
* Lint
* Lint
2018-09-25 08:39:35 +02:00
Jason Hu
7a77951bb4
Add Notify MFA module ( #16314 )
...
* Add Notify MFA
* Fix unit test
* Address review comment, change storage implementation
* Add retry limit to mfa module
* Fix loading
* Fix invalaid login log processing
* Typing
* Change default message template
* Change one-time password to 8 digit
* Refactoring to not save secret
* Bug fixing
* Change async_initialize method name to aysnc_initialize_login_mfa_step
* Address some simple fix code review comment
2018-09-24 11:06:50 +02:00
Thomas Lovén
ad47ece5c6
Allow split component definitions in packages ( #16177 )
...
* Allow split component definitions in packages
Two different configuration styles are described in
https://www.home-assistant.io/docs/configuration/devices/#style-2-list-each-device-separately
But only one is allowed in packages according to
https://www.home-assistant.io/docs/configuration/packages/
This change allows "Style 2" configuration in packages.
* Added test for split component definition in packages
2018-09-24 10:17:24 +02:00
emontnemery
5ee4718e24
Remove discovered MQTT Switch device when discovery topic is cleared ( #16605 )
...
* Remove discovered device when discovery topic is cleared
* Move entity removal away from mqtt discovery
* Move discovery update to mixin class
* Add testcase
* Review comments
2018-09-24 10:11:49 +02:00
Martin Berg
a5cb4e6c2b
Use pyspcwebgw for SPC component ( #16214 )
...
* Use pyspcwebgw library.
* Support alarm triggering.
* Update requirements.
* Add pyspcwebgw to test reqs.
* Also update script.
* Use dispatcher.
* Address review feedback.
2018-09-24 10:10:10 +02:00
Jason Hu
564ad7e22a
Rework chromecast fix ( #16804 )
...
* Revert changes of #16471 , and fix the platform setup issue
* Fix unit test
* Fix
* Fix comment
* Fix test
* Address review comment
* Address review comment
2018-09-23 23:35:07 +02:00
Malte Franken
18d37ff0fd
GeoJSON platform ( #16610 )
...
* initial version of geojson platform
* unit tests for geo json platform added; smaller bugfixes and code cleanups
* fixing pylint issues
* moved all code accessing the external feed into separate library; refactored platform and tests to work with that new library
* fixing lint
* small refactorings
2018-09-21 21:15:57 +02:00
Robert Svensson
7fe0d8b2f4
deCONZ cover support ( #16759 )
...
deCONZ cover platform for Keen vents
2018-09-21 19:59:20 +02:00
Paulus Schoutsen
8b42d0c471
Add confirmation to Cast/Sonos/iOS config entries ( #16769 )
...
* Add confirmation to Cast/Sonos/iOS config entries
* Remove redundant code
2018-09-21 16:34:37 +02:00
Giuseppe
213171769d
Refactored units and icons for the Dyson sensors ( #14550 )
...
* Refactored units and icons for the Dyson sensors
* Adapted unit tests to the new device names and unit of measurements
* Use None as empty unit of measurement
* Unrelated overall improvements following code review
* Adapted tests to new constructors as per previous commit
* Make sure the sensors have their `hass` attribute set in the test environment
2018-09-21 15:55:07 +02:00
Malte Franken
d5813cf167
Make rest sensor and binary sensor more efficient ( #14484 )
...
* create binary sensor even if initial update fails
* fixed broken test assertion
* fixed broken test assertion
* avoid fetching resource twice - manually in the setup_platform and then through add_devices
* raising PlatformNotReady instead of creating the sensor if the initial rest call fails; throttling the update to avoid fetching the same resource again immediately after setting up sensor
* rolled back throttling of the rest update call; can still avoid updating the binary sensor's rest resoure twice; fixed tests
* typo
2018-09-21 15:54:50 +02:00
Paulus Schoutsen
3e59ffb33a
Add tradfri device info ( #16768 )
2018-09-21 14:47:52 +02:00
Maciej Bieniek
a0a54dfd5b
Add unique_id to mqtt camera ( #16569 )
...
* Add unique_id to mqtt camera
* Remove whitespaces
* Add test for unique_id
* Add blank line
2018-09-21 13:09:54 +02:00
cdce8p
3bfe9e757e
Add Carbon Monoxide HomeKit Sensor ( #16664 )
2018-09-21 12:51:02 +02:00
Rohan Kapoor
3d1c8ee467
Implement support for complex templates in script delays ( #16442 )
...
* Implement support for complex templates in script delays
* Swap out dict instead of collections.Mapping
2018-09-21 11:57:01 +02:00
PhracturedBlue
98b92c78c0
Add Call Data Log platform. Mailboxes no longer require media ( #16579 )
...
* Add multiple mailbox support
* Fix extraneous debugging
* Add cdr support
* liniting errors
* Mailbox log messages should mostly be debug. Fix race condition with initializing CDR
* async decorators to async
* Lint fixes
* Typo
* remove unneeded parameter
* Fix variable names
* Fix async calls from worker thread. Other minor cleanups
* more variable renames
2018-09-21 11:55:12 +02:00