cgtobi
48fe2d18e8
Add option to ignore availability in google calendar events ( #13714 )
2018-04-06 21:48:50 +02:00
cdce8p
85487612d5
Update Homekit to 1.1.9 ( #13716 )
...
* Version bump to HAP-python==1.1.9
* Updated types and tests
2018-04-06 10:20:59 -04:00
PlanetJ
4008bf5611
Adding configration to disable ip address as a requirement Fixes : #13399 ( #13692 )
...
* Adding configration to disable ip address as a requirement Fixes : #13399
* Remove whitespace
2018-04-05 18:45:09 +02:00
Niklas Morberg
bb5484edac
Support color temperature in Homekit ( #13658 )
...
* Add support for color temperature
* Add test for color temp
2018-04-05 18:06:23 +02:00
cdce8p
206e38a2ab
Update HAP-python to 1.1.8 ( #13563 )
...
* Bump version to HAP-python==1.1.8
* Required changes for version change
* Small bugfix lights
2018-04-05 13:20:20 +02:00
John Arild Berentsen
fe56844a3a
Bugfix: Zwave Print_node to logfile instead of console ( #13302 )
...
* Print to logfile instead of console
* Review changes
* Typo
2018-04-05 11:14:15 +02:00
cdce8p
692b2644c7
Minor style changes, cleanup ( #13654 )
...
* Minor style changes, cleanup
* Change 'self._entity.id' to 'self.entity_id'
* Use const 'STATE_OFF'
* Added CATEGORY constants
* Removed *args from accessory types
* Changed 'self._hass' to 'self.hass'
* Added log debug msg (for added lights)
2018-04-05 00:52:25 +02:00
Ville Skyttä
415af5e257
Spelling fixes ( #13681 )
2018-04-04 23:30:02 +02:00
mountainsandcode
032d6963d8
Add regex functions as templating helpers ( #13631 )
...
* Add regex functions as templating helpers
* Add regex functions as templating helpers - Style fixed
* Templating filters, third time lucky?
2018-04-04 15:34:01 +02:00
Paulus Schoutsen
92bd932679
Always enable config entries & remove config_entry_example ( #13663 )
2018-04-03 23:23:21 +02:00
Niklas Wagner
9fb73c1bab
Hue mireds value is actually 153 not 154 ( #13601 )
2018-04-02 09:45:38 +02:00
Adam Mills
be43c3bcfe
Fix mqtt_json color commands ( #13617 )
2018-04-01 14:12:55 -04:00
Paulus Schoutsen
eb763764b3
Fix Hue error logging ( #13616 )
2018-04-01 09:03:01 -07:00
Paulus Schoutsen
ff9f500c51
Unflake folder watcher test ( #13569 )
...
* Unflake folder watcher test
* Fix tests
* Lint
2018-04-01 08:30:14 -07:00
Tod Schmidt
bf44dc422c
Added HassOpenCover and HassCloseCover intents ( #13372 )
...
* Added intents to cover
* Added test for cover intents
* Style fixes
* Reverted reversions
* Async fixes
* Woof
* Added conditional loading
* Added conditional loading
* Added conditional loading
* Moved tests, fixed logic
* Moved tests, fixed logic
* Pylint
* Pylint
* Refactored componenet registration
* Refactored componenet registration
* Lint
2018-03-30 17:22:48 -07:00
Joe Lu
ad5a11ba3d
Add support for Canary Flex ( #13280 )
...
Add support for Canary Flex
2018-03-30 23:38:29 +02:00
Beat
8fad97a47a
Add FreeDNS component ( #13526 )
...
* Add FreeDNS component
* Implement review changes in FreeDNS component
* Implement review changes in FreeDNS component
* Implement review changes in FreeDNS component
2018-03-30 21:33:30 +02:00
Kane610
931bceefd9
deCONZ config entry ( #13402 )
...
* Try config entries
* Testing
* Working flow
* Config entry text strings
* Removed manual inputs for config flow
* Support unloading of config entry
* Bump requirement to v33
* Fix comments from test
* Make sure that only one deCONZ instance can be set up
* Hass doesn't support unloading platforms yet
* Modify get_api_key to be testable
* Fix hound comments
* Add test dependency
* Add test for no key
* Bump requirement to v35
Add pydeconz to list of test components
* Don't have a check in async_setup that domain exists in hass.data
2018-03-30 00:34:26 -07:00
Albert Lee
5801d78017
Implement thermostat support for Alexa ( #13340 )
...
* Implement thermostat support for Alexa
* util.temperature: Support interval conversions
* Use climate.ATTR_OPERATION_MODE for Alexa thermostat mode
* Switch coroutines to async/await
* Log all Alexa error events
2018-03-29 23:49:08 -07:00
Paulus Schoutsen
184f2be83e
Convert Hue to always use config entries ( #13034 )
2018-03-29 20:15:40 -07:00
Johann Kellerman
507c658fe9
Check whitelisted paths #13107 ( #13154 )
2018-03-29 19:57:19 -07:00
Frederik Bolding
3e5462ebff
Added file path validity checks to file sensor ( #12505 )
...
* Added file validity checks to file sensor
* Patched out 'is_allowed_path' for file sensor tests
2018-03-29 19:47:49 -07:00
Robin
df78eecc1b
Adds folder_watcher component ( #12918 )
...
* Create watchdog_file_watcher.py
* Rename watchdog_file_watcher.py to folder_watcher.py
* Address a number of issues
* Adds filter
* Adds pattern matching
* Adds create_event_handler()
* Update folder_watcher.py
* Adds run_setup()
* Remove stop_watching()
* Adds shutdown()
* Update config to allow patterns on each folder
* Update to patterns from filters
* Adds watchdog
* Fix indents on schema
* Update folder_watcher.py
* Create test_file_watcher.py
* Fix lints
* Add test_invalid_path()
* Adds folder_watcher
* Update test_file_watcher.py
* Update folder_watcher.py
* Simplify config
* Adapt for new config
* Run observer.schedule() on EVENT_HOMEASSISTANT_START
* Amend Watcher removing entity and tidying startup
* Tidy config
* Rename process to on_any_event for consistency
* Rename on_any_event back to process
Using `on_any_event` resulted in 2 events being fired
* Update folder_watcher.py
* Fix return False on setup
* Update test_file_watcher.py
* Update folder_watcher.py
* Adds watchdog
* Undo adding watchdog
* Update test_file_watcher.py
* Update test_file_watcher.py
* Update test_file_watcher.py
* Update test_file_watcher.py
* Update test_file_watcher.py
* Add event
* Update test_file_watcher.py
* Update .coveragerc
* Update test_file_watcher.py
* Update test_file_watcher.py
* debug + join
* test event
* lint
* lint
* Rename test_file_watcher.py to test_folder_watcher.py
* hound
* Tidy test
* Further refine test
* Adds to test_all
* Fix test for py35
* Change test again
* Update test_folder_watcher.py
* Fix test
* Add watchdog to test
* Update folder_watcher.py
* add watchdog
* Update folder_watcher.py
2018-03-29 18:10:20 -07:00
Johann Kellerman
a6b63b669e
Don't add Falsy items to list #13412 ( #13536 )
2018-03-29 17:13:08 -07:00
cdce8p
cea2de5eb5
HomeKit: Fix setting light brightness ( #13518 )
...
* Added test
2018-03-29 18:35:57 +02:00
Mikael Svensson
bdb4d754ae
Adds template function state_attr to get attribute from a state ( #13378 )
...
* Adds template function state_attr to get attribute from a state
Refactored is_state_attr to use new function
Adds tests for state_attr
* Fixes line too long and test bug
* Fixes pylint error
* Fixes tests and D401 lint error
2018-03-28 00:04:18 -07:00
cdce8p
2bebfec3a6
Homekit: Fix security systems ( #13499 )
...
* Fix alarm_code=None
* Added test
2018-03-27 23:39:25 +02:00
cdce8p
9eda04b787
Homekit: Bugfix Thermostat Fahrenheit support ( #13477 )
...
* Bugfix thermostat temperature conversion
* util -> temperature_to_homekit
* util -> temperature_to_states
* util -> convert_to_float
* Added tests, deleted log msg
2018-03-27 11:31:18 +02:00
cdce8p
8a0facb747
Validate basic customize entries ( #13478 )
...
* Added schema to validate customize dictionary
* Added test
2018-03-26 19:50:29 -07:00
Philip Rosenberg-Watt
81cf0dacfe
Fix Google Calendar caching when offline ( #13375 )
...
* Fix Google Calendar caching when offline
Events from Google Calendar were not firing under the following
circumstances:
1. Start ha as normal with Google Calendar configured as per
instructions.
2. ha loses network connectivity to Google
3. ha attempts update of Google Calendar
4. calendar/google component throws uncaught Exception causing update
method to not return
5. (cached) Google Calendar event does not fire, remains "Off"
Catching the Exception and returning False from the update() method
causes the correct behavior (i.e., the calendar component firing the
event as scheduled using cached data).
* Add requirements
* Revert code cleanup
* Remove explicit return value from update()
* Revert "Remove explicit return value from update()"
This reverts commit 7cd77708af
.
* Use MockDependency decorator
No need to whitelist google-python-api-client for a single unit test at
this point.
2018-03-26 18:10:22 -07:00
Paulus Schoutsen
f1d37fc849
Upgrade aiohue and fix race condition ( #13475 )
...
* Bump aiohue to 1.3
* Store bridge in hass.data before setting up platform
* Fix tests
2018-03-26 16:07:22 -07:00
Paulus Schoutsen
24e0bb198a
Hue: Convert XY to HS color if HS not present ( #13465 )
...
* Hue: Convert XY to HS color if HS not present
* Revert change to test
* Address comments
* Lint
2018-03-26 14:00:56 -07:00
Patrick Hofmann
6d20a84f0e
Security fix & lock for HomeMatic ( #11980 )
...
* HomeMatic KeyMatic device become a real lock component
* Adds supported features to lock component.
Locks may are capable to open the door latch.
If component is support it, the SUPPORT_OPENING bitmask can be supplied in the supported_features property.
* hound improvements.
* Travis improvements.
* Improvements from review process
* Simplifies is_locked method
* Adds an openable lock in the lock demo component
* removes blank line
* Adds test for openable demo lock and lint and reviewer improvements.
* adds new line...
* Comment end with a period.
* Additional blank line.
* Mock service based testing, lint fixes
* Update description
2018-03-25 23:25:28 +02:00
cdce8p
7db37a3834
HomeKit: Bugfix & improved logging ( #13431 )
...
* Bugfix & improved logging
* Removed logging statements
* Removed logging test
2018-03-25 12:53:15 +02:00
Anders Melchiorsen
55daea5169
Improve detection of entity names in templates ( #13432 )
...
* Improve detection of entity names in templates
* Only test variables
2018-03-25 12:51:11 +02:00
Marc Forth
2d2e8034d6
Removed the google home warning from emulated_hue ( #13436 )
...
* Removed the google home warning from emulated_hue
* Update test_init.py
* Update test_init.py
2018-03-25 00:45:25 -07:00
Anders Melchiorsen
7166d53e2b
Log invalid templates in script delays ( #13423 )
...
* Log invalid templates in script delays
* Abort on error
* Remove unused import
2018-03-25 01:12:26 +01:00
Franck Nijhof
872b6cf16b
Updates default Pilight port number ( #13419 )
2018-03-23 23:22:33 +01:00
Otto Winter
6a625bdb37
Cast Integration Cleanup ( #13275 )
...
* Cast Integration Cleanup
* Fix long line
* Fixes and logging
* Fix tests
* Lint
* Report unknown state with None
* Lint
* Switch to async_add_job
Gets rid of those pesky "Setup of platform cast is taking over 10 seconds." messages.
* Re-introduce PlatformNotReady
* Add tests
* Remove unnecessary checks
* Test PlatformNotReady
* Fix async in sync context
* Blocking update
It's not using async anyway
* Upgrade pychromecast to 2.1.0
* Make reviewing easier
I like "protected" access, but I like reviewing more :)
* Make reviewing even easier :)
* Comment tests
2018-03-23 14:02:52 -07:00
Paulus Schoutsen
4bd6776443
Google assistant sync ( #13392 )
...
* Add Google Assistant Sync API
* Update const.py
* Async/await
2018-03-23 12:13:52 -07:00
Adam Mills
2497dd5e33
Hue: Use the currently active color mode ( #13376 )
...
* Hue: Use the currently active color mode
* Round hue/sat colors before reporting to API
* .gitignore cache fix
2018-03-23 11:01:40 -07:00
Paulus Schoutsen
fb1fafefab
Include all config flow translations with backend translations ( #13394 )
2018-03-22 12:21:33 -07:00
Paulus Schoutsen
d385e9645d
Merge remote-tracking branch 'origin/master' into dev
2018-03-22 10:20:35 -07:00
cgtobi
e9cdbe5d8c
Add language parameter to darksky sensor ( #13297 )
2018-03-22 13:34:02 +01:00
Paulus Schoutsen
da4e630f54
Fix tests
2018-03-21 10:38:06 -07:00
Paulus Schoutsen
ffbafa687a
Do not include unavailable entities in Google Assistant SYNC ( #13358 )
2018-03-21 10:14:56 -07:00
Anders Melchiorsen
f8127a3902
Add a polling fallback for Sonos ( #13310 )
...
* Prepare for poll
* Add a polling fallback for Sonos
2018-03-20 19:27:07 -07:00
Paulus Schoutsen
cfb0b00c0c
Do not include unavailable entities in Google Assistant SYNC ( #13358 )
2018-03-20 18:09:34 -07:00
John Arild Berentsen
5c4529d044
Bugfix: Zwave set_config_parameter failed when config list contained int ( #13301 )
...
* Cast list and bool options to STR
* Add button options to STR
* Add TYPE_BUTTON to value types
* Adjust comparison
* Remove Logging
* Remove Empty line
* Update tests
* Update tests
* Mistake
2018-03-20 14:04:24 +01:00
Johann Kellerman
4270bc7abb
Perform check_config service in current process ( #13017 )
...
* Perform check_config service in current process
* feedback
2018-03-19 14:20:04 -07:00