cdce8p
f6ae2d338d
Homekit: Use util functions for unit conversion ( #13253 )
...
* Updated to util/color for conversion
* Updated temperature sensor to use util/temperature conversion
2018-03-16 11:38:44 +01:00
Fabien Piuzzi
0deef34881
Adding Foobot device sensor ( #12417 )
...
* Added Foobot device sensor
* Added error handling tests
* Corrections after PR review.
* Migrated to async/await syntax
* lint fixes
* stop raising HomeAssistantError
* debug log for number of requests
* Moved shared data between sensors from a class attribute to a separate class
* Made test more async-aware
disabled setup error test for now as it's not working
* Working failure scenarios tests
2018-03-15 19:50:58 -07:00
cdce8p
2350ce96a6
Homekit: New supported devices ( #13244 )
...
* Fixed log message
* Added support for scripts
* Added support for lights
* Small refactoring
* Added support for humidity sensor
* Added tests
2018-03-16 01:05:28 +01:00
Paulus Schoutsen
89a19c89a7
Fix aiohttp deprecation warnings ( #13240 )
...
* Fix aiohttp deprecation warnings
* Fix Ring deprecation warning
* Lint
2018-03-15 21:49:49 +01:00
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
Otto Winter
27c1806897
Python 3.5 adjustments ( #13173 )
2018-03-15 13:10:54 +02: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 e14893416f .
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 e14893416f .
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
6ffc53b290
Make Throttle async aware ( #13027 )
...
* Make Throttle async aware
* Lint
2018-03-09 19:42:35 -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
36361d623d
Make Throttle async aware ( #13027 )
...
* Make Throttle async aware
* Lint
2018-03-09 19:38:51 -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
Johann Kellerman
16d72d2351
check_config script evolution ( #12792 )
...
* Initial async_check_ha_config_file
* check_ha_config_file
* Various fixes
* feedback - return the config
* move_to_check_config
2018-03-09 09:31:13 -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
Johann Kellerman
6734c966b3
check_config script evolution ( #12792 )
...
* Initial async_check_ha_config_file
* check_ha_config_file
* Various fixes
* feedback - return the config
* move_to_check_config
2018-03-08 19:34:24 -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
Paulus Schoutsen
38af04c6ce
Reinstate our old virtual env check in favor of pip ( #12932 )
2018-03-05 15:51:37 -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