Anders Melchiorsen
5e675677ad
Cleanup Sonos platform setup ( #13225 )
...
* Cleanup Sonos platform setup
* Remove unneeded lists
2018-03-15 20:43:28 +01:00
maxlaverse
ff416c0e7a
Try to fix caldav ( #13236 )
...
* Fix device attribute type for event end
* Fix is_over and add tests
2018-03-15 10:58:11 -07:00
Paulus Schoutsen
170b8671b9
Fix logbook JSON serialize issue ( #13229 )
...
* Fix logbook JSON serialize issue
* Address flakiness
* Lint
* deflake ?
* Deflake 2
2018-03-15 10:54:22 -07:00
cdce8p
646ed5de52
Added cover.group platform (replaces #12303 ) ( #12692 )
...
* Added cover.group platform
* Added async/await, smaller changes
* Made (async_update) methods regular methods
* Small improvements
* Changed classname
* Changes based on feedback
* Service calls
* update_supported_features is now a callback method
* combined all 'update_attr_*' methods in 'async_update'
* Small changes
* Fixes
* is_closed
* current_position
* current_tilt_position
* Updated tests
* Small changes 2
2018-03-15 12:31:31 +01:00
cdce8p
d348f09d3d
HomeKit Restructure (new config options) ( #12997 )
...
* Restructure
* Pincode will now be autogenerated and display using a persistence notification
* Added 'homekit.start' service
* Added config options
* Renamed files for types
* Improved tests
* Changes (based on feedback)
* Removed CONF_PIN_CODE
* Added services.yaml
* Service will only be registered if auto_start=False
* Bugfix names, changed default port
* Generate aids with zlib.adler32
* Added entity filter, minor changes
* Small changes
2018-03-15 02:48:21 +01:00
Paulus Schoutsen
25fe6ec536
Fix input_boolean Google Assistant serialize error ( #13220 )
2018-03-14 15:08:23 -07:00
Paulus Schoutsen
e1a5e5a8ba
Fix input_boolean Google Assistant serialize error ( #13220 )
2018-03-14 15:07:37 -07:00
Paulus Schoutsen
a9917e7a56
Fix history API ( #13214 )
2018-03-14 22:29:51 +01:00
Paulus Schoutsen
0a2e949e0a
Remove crazy JSON encoding things that are no longer used ( #13029 )
...
Catch JSON encoding errors in HTTP view
2018-03-12 23:22:08 +01:00
Otto Winter
a34786fb2d
Revert "Cast automatically drop connection ( #12635 )" ( #13094 )
...
This reverts commit e14893416fb98d3ef9a37d816e0ee719105b33a1.
2018-03-11 12:52:00 -07:00
Paulus Schoutsen
7018806802
Run asyncio event loop in debug mode during tests ( #13058 )
...
* Run asyncio event loop in debug mode during tests
* Remove debug mode again
2018-03-11 12:51:57 -07:00
Paulus Schoutsen
a7f34bbce9
Implement Hue available property ( #12939 )
2018-03-11 12:51:57 -07:00
Otto Winter
1dc5fa145f
Revert "Cast automatically drop connection ( #12635 )" ( #13094 )
...
This reverts commit e14893416fb98d3ef9a37d816e0ee719105b33a1.
2018-03-11 12:42:58 -07:00
Paulus Schoutsen
d0f089975d
Run asyncio event loop in debug mode during tests ( #13058 )
...
* Run asyncio event loop in debug mode during tests
* Remove debug mode again
2018-03-11 12:32:12 -07:00
Adam Mills
26960283a0
Config flow translations ( #13066 )
...
* Development script for testing translation strings
* Localize backend of config flow
* Fix hue tests
* Update hue.en.json
* Move components to individual directories
* Bridge -> bridge
2018-03-11 12:04:34 -07:00
Matthias Urlichs
f5cc40024d
Rename homeassistant.util.async to .async_ ( #13088 )
...
"async" is (going to be) a reserved word.
2018-03-11 10:01:12 -07:00
Paulus Schoutsen
d42b5a93dd
Implement Hue available property ( #12939 )
2018-03-11 09:49:28 -07:00
Adam Mills
dc8424032b
Remove Z-Wave old/new entity_id attributes ( #12652 )
2018-03-11 10:30:03 -04:00
Otto Winter
d74a2b68c1
Sensor template don't exit early on TemplateError ( #13041 )
...
* Sensor template don't exit early on TemplateError
* Add friendly name unknown state test
* Also track entites from attribute templates
* Use set instead of list
2018-03-10 20:45:32 -08:00
Paulus Schoutsen
42359b3b48
Convert decimals from SQL results ( #13059 )
2018-03-10 10:41:41 -08:00
Paulus Schoutsen
0e00de8a33
Convert decimals from SQL results ( #13059 )
2018-03-10 10:40:28 -08:00
cdce8p
a58d8fc68b
HomeKit Bugfix: names ( #13031 )
...
* Fix display_names, changed default port (+1)
* Revert port change
2018-03-09 19:42:36 -08:00
Paulus Schoutsen
3c41c0c46e
Add support for input boolean to Google Assistant ( #13030 )
2018-03-09 19:42:36 -08:00
Paulus Schoutsen
34c694c20e
allow ios device tracker see calls to go through ( #13020 )
2018-03-09 19:42:35 -08:00
cdce8p
3ca139e21e
HomeKit Bugfix: names ( #13031 )
...
* Fix display_names, changed default port (+1)
* Revert port change
2018-03-09 19:41:59 -08:00
Paulus Schoutsen
a8a895a61b
allow ios device tracker see calls to go through ( #13020 )
2018-03-09 19:39:50 -08:00
Paulus Schoutsen
652e0d45a9
Add support for input boolean to Google Assistant ( #13030 )
2018-03-09 19:38:33 -08:00
Otto Winter
4152ac4aa2
Clean up Light Groups ( #12962 )
...
* Clean up Light Groups
* Fix tests
* Remove light group from .coveragerc
* async_schedule_update_ha_state called anyway
2018-03-09 09:31:14 -08:00
Otto Winter
ca5f470956
Clean up Light Groups ( #12962 )
...
* Clean up Light Groups
* Fix tests
* Remove light group from .coveragerc
* async_schedule_update_ha_state called anyway
2018-03-09 06:15:39 -08:00
Boyi C
321eb2ec6f
Move HomeAssistantView to separate file. Convert http to async syntax. [skip ci] ( #12982 )
...
* Move HomeAssistantView to separate file. Convert http to async syntax.
* pylint
* websocket api
* update emulated_hue for async/await
* Lint
2018-03-08 17:51:49 -08:00
corneyl
2ee73ca911
Fixes notify.html5 for notifications on FireFox ( #12993 )
...
* Only pass the gcm_key when using Google Cloud Messaging as endpoint.
* Test if the gcm_key is only included for GCM endpoints.
2018-03-08 17:50:17 -08:00
Paulus Schoutsen
7f065e38a7
Check color temp range for google assistant ( #12994 )
2018-03-08 17:43:41 -08:00
Anders Melchiorsen
44e4f8d1ba
Fix Sonos group discovery ( #12970 )
...
* Avoid iterating sonos devices that are not yet added
* Rebuild zone topology for each new device
2018-03-08 15:39:31 -08:00
Paulus Schoutsen
9b1a75a74b
Refactor Google Assistant ( #12959 )
...
* Refactor Google Assistant
* Fix cloud test
* Fix supported features media player demo
* Fix query
* Fix execute
* Fix demo media player tests
* Add tests for traits
* Lint
* Lint
* Add integration tests
* Add more tests
* update logging
* Catch out of range temp errrors
* Fix cloud error
* Lint
2018-03-08 14:39:10 -08:00
maxclaey
4218b31e7b
Add support for alarm system, switch and thermostat to homekit ( #12819 )
...
* Added support for security system, switch and thermostat
* Processing review
* Only perform set call when the call didn't come from HomeKit
* Added support for alarm_code
* Take into account review remarks
* Provide tests for HomeKit security systems, switches and thermostats
* Support STATE_AUTO
* Guard if state exists
* Improve support for thermostat auto mode
* Provide both high and low at the same time for home assistant
* Set default values within accepted ranges
* Added tests for auto mode
* Fix thermostat test error
* Use attributes.get instead of indexing for safety
* Avoid hardcoded attributes in tests
2018-03-07 13:17:52 +01:00
Paulus Schoutsen
36b9c0a946
Remove weird tests ( #12936 )
...
* Remove mediaroom test
* Fix meraki test doing mac lookups
* Fix flaky unknown device config
* Move more device tracker I/O testing into memory
2018-03-06 21:53:02 +02:00
Diogo Gomes
5063464d5e
Support for queries with no results (fix for #12856 ) ( #12888 )
...
* Addresses issue #12856
* error -> warning
* added edge case and test
* uff uff
* Added SELECT validation
* Improved tests
2018-03-05 19:44:04 -08:00
Nicko van Someren
03225cf20f
Added checks for empty replies from REST calls and supporting tests ( #12904 )
2018-03-05 15:30:28 -08:00
Paulus Schoutsen
60d7e32f81
Flaky tests ( #12931 )
...
* Skip flaky DDWRT tests
* Import APNS before running tests
2018-03-05 14:13:18 -08:00
Paulus Schoutsen
6a5c7ef43f
Upgrade to aiohttp 3 ( #12921 )
...
* Upgrade aiohttp to 3.0.6
* Fix tests
* Fix aiohttp client stream test
* Lint
* Remove drain
2018-03-05 13:28:41 -08:00
Paulus Schoutsen
e5c4bba906
Remove unused cloud APIs ( #12913 )
2018-03-05 22:28:15 +01:00
Per Osbäck
f00d5cb8ca
update html5 to async/await tests ( #12896 )
...
* update html5 to async/await tests
* removed paranthesis
2018-03-04 18:35:07 -08:00
Anders Melchiorsen
d418355d4d
InfluxDB cleanups ( #12903 )
...
* Close influxdb on shutdown
* Ignore inf as an influxdb value
* Remove deprecated CONF_RETRY_QUEUE
2018-03-04 21:01:16 +01:00
Paulus Schoutsen
67c49a7662
Add config flow for Hue ( #12830 )
...
* Add config flow for Hue
* Upgrade to aiohue 0.2
* Fix tests
* Add tests
* Add aiohue to test requirements
* Bump aiohue dependency
* Lint
* Lint
* Fix aiohttp mock
* Lint
* Fix tests
2018-03-03 21:28:04 -08:00
Anders Melchiorsen
d06807c634
Improve influxdb throughput ( #12882 )
...
* Batch influxdb events for writing
* Name constants
2018-03-03 21:22:31 -08:00
Boris K
95176b0666
Fix 0 value when home-assistant restarts ( #12874 )
2018-03-03 22:59:25 +01:00
Otto Winter
99eeb01525
Fix light group update before add ( #12844 )
...
* Fix light group update before add.
* Revert pytest skip
2018-03-02 15:04:32 -08:00
Anders Melchiorsen
dd67192057
Keep auto groups during group reload ( #12841 )
...
* Keep auto groups during group reload
* Make protected member public
* Add test
2018-03-02 11:29:49 -08:00
Paulus Schoutsen
4e03176634
Skip flaky light.group test [skipci] ( #12847 )
2018-03-02 11:19:19 -08:00
Paulus Schoutsen
228b030c82
Cloud unauth ( #12840 )
...
* Handle expired refresh token better
* Retry less aggressive
* Newline
2018-03-02 10:33:05 -08:00