cdce8p
4c328baaa6
Add code to HomeKit lock ( #14524 )
2018-05-18 13:52:52 +02:00
Diogo Gomes
97076aa3fd
Fix probability_threshold in binary_sensor.bayesian ( #14512 ) ( Closes : #14362 )
2018-05-18 07:48:16 +02:00
Malte Franken
a3777c4ea8
Feedreader configurable update interval and max entries ( #14487 )
2018-05-18 07:25:08 +02:00
Nathan Henrie
1053473111
Add stdout and stderr to debug output for shell_command ( #14465 )
2018-05-16 13:47:41 +02:00
Matt Schmitt
25dcddfeef
Add HomeKit support for fans ( #14351 )
2018-05-16 13:15:59 +02:00
Ville Skyttä
e20f88c143
Use "Returns" consistently to avoid being treated as section ( #14448 )
...
Otherwise, by side effect, results in error D413 by recent pydocstyle.
2018-05-16 10:01:48 +02:00
Paulus Schoutsen
df69680d24
Don't add a url to built-in panels ( #14456 )
...
* Don't add a url to built-in panels
* Add url_path back
* Lint
* Frontend bump to 20180515.0
* Fix tests
2018-05-15 14:47:46 -04:00
Malte Franken
e49e0b5a13
Make Feedreader component more extendable ( #14342 )
...
* moved regular updates definition to own method to be able to override behaviour in subclass
* moved filter by max entries to own method to be able to override behaviour in subclass
* event type used when firing events to the bus now based on variable to be able to override behaviour in subclass
* feed id introduced instead of url for storing meta-data about the feed to be able to fetch the same feed from different configs with different filtering rules applied
* keep the status of the last update; continue processing the entries retrieved even if a recoverable error was detected while fetching the feed
* added test cases for feedreader component
* better explanation around breaking change
* fixing lint issues and hound violations
* fixing lint issue
* using assert_called_once_with instead of assert_called_once to make it compatible with python 3.5
2018-05-15 20:43:26 +02:00
Diogo Gomes
d47006c98f
Optimistic MQTT light ( #14401 )
...
* Restores light state, case the light is optimistic
* lint
* hound
* hound
* Added mqtt_json
* hound
* added mqtt_template
* lint
* cleanup
* use ATTR
2018-05-15 12:25:50 +02:00
Matt Schmitt
44e9783c7c
Add support for direction to fan template ( #14371 )
...
* Initial commit
* Update and add tests
2018-05-14 22:37:49 +02:00
Fabian Affolter
954e4796b8
Use ATTR_NAME from const.py ( #14450 )
2018-05-14 13:05:52 +02:00
Fabian Affolter
fb501282cc
Add SpaceAPI support ( #14204 )
...
* Add SpaceAPI support
* Changes according PR comments
* Add tests
* Remove print
* Minor changes
2018-05-14 09:13:59 +02:00
Ville Skyttä
146a9492ec
Clean up some Python 3.4 remnants ( #14433 )
2018-05-13 17:56:42 +02:00
Ville Skyttä
234bf1f0ea
Spelling, grammar etc fixes ( #14432 )
...
* Spelling, grammar etc fixes
* s/an api data/data of an api/
2018-05-13 12:09:28 +02:00
Ville Skyttä
843789528e
Remove extra quotes from docstrings ( #14431 )
2018-05-13 11:06:15 +02:00
Andrey
d1228d5cf4
Look at registry before pulling zwave config values ( #14408 )
...
* Look at registry before deciding on ID for zwave values
* Reuse the new function
2018-05-12 17:45:36 -04:00
Andrey
7aec098a05
Bring back typing check. Meanwhile just for homeassistant/*.py ( #14410 )
...
* Bring back typing check. Meanwhile just for homeassistant/.py
* Change follow-imports to silent. Add a few more checks.
2018-05-12 17:44:53 -04:00
cdce8p
990f476ac9
Homekit test cleanup ( #14416 )
2018-05-12 17:10:19 +02:00
Matt Schmitt
621c653fed
Allow HomeKit name to be customized ( #14159 )
2018-05-11 14:22:45 +02:00
Robin
528ad56530
Adds facebox ( #14356 )
...
* Adds facebox
* Update .coveragerc
* Remove facebox
* Add test of faces attribute
* Add event test
* Adds more tests
* Adds tests to increase coverage
* Rename MOCK_FACES to MOCK_FACE
* Adds STATE_UNKNOWN
2018-05-11 09:57:00 +02:00
cdce8p
8fcf085829
Rewritten HomeKit tests ( #14377 )
...
* Use pytest fixtures and parametrize
* Use async
2018-05-11 01:21:59 +02:00
Paulus Schoutsen
ea01b127c2
Add local auth provider ( #14365 )
...
* Add local auth provider
* Lint
* Docstring
2018-05-10 14:09:22 -04:00
Paulus Schoutsen
5ec7fc7ddb
Backend tweaks to make authorization work ( #14339 )
...
* Backend tweaks to make authorization work
* Lint
* Add test
* Validate redirect uris
* Fix tests
* Fix tests
* Lint
2018-05-10 10:38:11 +02:00
Anders Melchiorsen
d43e6a2888
Ignore NaN values for influxdb ( #14347 )
...
* Ignore NaN values for influxdb
* Catch TypeError
2018-05-08 20:54:38 -04:00
Andrey
10505d542a
Make sure zwave nodes/entities enter the registry is proper state. ( #14251 )
...
* When zwave node's info is parsed remove it and re-add back.
* Delay value entity if not ready
* If node is ready consider it parsed even if manufacturer/product are missing.
* Add annotations
2018-05-08 15:30:28 -04:00
Nick Whyte
e12994a0cd
Fix BOM weather '-' value ( #14042 )
2018-05-08 13:35:55 -04:00
Tod Schmidt
c664c20165
Snips: Added slot values for siteId and probability ( #14315 )
...
* Added solt values for siteId and probability
* Update snips.py
* Update test_snips.py
2018-05-08 11:43:31 -04:00
Paulus Schoutsen
5c95c53c6c
Revert custom component loading logic ( #14327 )
...
* Revert custom component loading logic
* Lint
* Fix tests
* Guard for infinite inserts into sys.path
2018-05-07 11:25:48 +02:00
cdce8p
91fe6e4e56
Add debounce to move_cover ( #14314 )
...
* Add debounce to move_cover
* Fix spelling mistake
2018-05-06 20:55:38 -04:00
Paulus Schoutsen
34727be5ac
Fix module names for custom components ( #14317 )
...
* Fix module names for custom components
* Also set __package__ correctly
* bla
* Remove print
2018-05-06 20:54:56 -04:00
thepotoo
2bb1a95098
Add unique_id to MQTT switch ( #13719 )
2018-05-06 08:21:02 +02:00
Robert Svensson
8410b63d9c
deCONZ add new device without restart ( #14221 )
...
* Add new device without restarting hass
* Remove debug prints
* Fix copy paste error
* Fix comments from balloob
Add tests to verify signalling with new added devices
* Fix hound comments
Add test to verify when new sensor is added
* Fix tests
* Unload entry should unsubscribe all deconz dispatchers
* Make sure mock setup also creates unsub in hass data
* Fix copy paste issue
* Lint
2018-05-05 10:11:00 -04:00
Lukas Barth
af8cd63838
Matrix Chatbot ( #13355 )
...
* Add first version of the Matrix bot
* It's a stupid but necessary change…
* Dont list it twice
* All hail the linter!
* More linter-pleasing
* Use the correct user ID
* Add expression commands
* Add tests for new validators
* Fix room alias handling
* Wording
* Defer setup
* Simplify commands
* Handle exceptions
* Update requirements
* Review
* Move login back to constructor
* Fix review comments
2018-05-05 10:00:36 -04:00
cdce8p
95d27bd1fa
Sensor device classes ( #14282 )
...
* Added light device class, moved device classes to const
* Removed unnecessary icons
* Replace 'lux' with 'lx'
* Fix comment
* Changed device_class name
2018-05-05 09:37:40 -04:00
blackwind
ec3ce4c80d
Publish attributes unconditionally ( #14179 )
...
* Publish attributes unconditionally
Because the attribute publish command was previously hidden behind `if val:`, falsy values like False and 0.0 weren't being published, thereby making Statestream -- particularly in the case of booleans, where the first True would be retained indefinitely -- a completely worthless indicator of state.
* Change bool test to False to confirm falsy values pass
2018-05-05 09:31:39 -04:00
Diogo Gomes
354470469f
Fix filter sensor missing window_size argument ( #14252 )
...
* missing window_size argument
* test throttle filter configuration
2018-05-05 03:10:08 +02:00
Matt Schmitt
255a85ad02
HomeKit: Support triggered state for alarm_control_panel ( #14285 )
2018-05-05 00:09:16 +02:00
cdce8p
bb76ba67f3
Homekit: Changed device_class requirement Humidity Sensor ( #14277 )
2018-05-04 22:48:38 +02:00
cdce8p
e37fd5b132
Update HAP-python to 2.0.0 ( #14278 )
...
* Fixed async (added 'async_add_job' and 'add_job')
* Driver status
* Use pyhap category constants
* Changed 'set_broker' to 'set_driver'
* Changed loader method names
* Use 'serv.configure_char'
* Use 'self.set_info_service'
* Use 'self.add_preload_service'
* Fix hound issue
* Updated HAP-python to 2.0.0
2018-05-04 16:46:00 +02:00
Paulus Schoutsen
15e75b07d8
Allow fetching media player covers via websocket connection ( #14233 )
...
Lint
2018-05-03 22:03:26 +02:00
Paulus Schoutsen
58257af289
Add fetching camera thumbnails over websocket ( #14231 )
...
* Add fetching camera thumbnails over websocket
* Lint
2018-05-03 22:02:59 +02:00
roiff
c9de2f015b
HomeKit - Climate: power state on/off support ( #14082 )
...
* add power state support on off
* Added check for current operation mode
* Extended 'set_heat_cool'
* Added tests
2018-05-03 18:22:43 +02:00
giangvo
ef4498ec27
Issue/add template fans ( #12027 )
...
* add template fan
* add-template: address PR comments
* add-template: remove unused import
* add-template: revert async_track_state_change change
* add-template: use yield from
* Revert "add-template: use yield from"
This reverts commit 1e053714a7
.
* add-template: use yield
* add-template: remove unused import
* add-template: remove async_add_job usages
* use components
* add-template: use async/await
* add-template: fix style
* add-template: remove str()
* address pr comments
* fix style
2018-05-02 17:45:31 -04:00
Diogo Gomes
c851dfa2c7
Restores switch state, case the switch is optimistic ( #14151 )
...
* Add restore_state to optimistic switch
* no need to schedule update
* test added
* lint
* new async syntax
* lint
2018-05-02 17:29:07 -04:00
Andrey
f72d568374
Add unique_id to zwave node entity ( #14201 )
...
* Add unique_id to zwave node entity
* Wait 30s before adding zwave node if its unique_id is not ready
* Use only node_id in unique_id. Update name, manufacturer, and product attributes on node update.
2018-05-02 16:10:26 -04:00
Otto Winter
14c7fa8882
WUnderground unique ids ( #13311 )
...
* WUnderground unique_id
* Remove async_generate_entity_id
* Lint
* Address comment
2018-05-02 14:23:07 -04:00
Anders Melchiorsen
bf056b6f01
Fix Hue color state for missing xy ( #14230 )
2018-05-02 09:25:08 -04:00
Sebastian Muszynski
8b13658d3b
Improve config schema of the blackbird component ( #14007 )
...
* Import moved, return values removed and redundant log message removed
* Improve config schema of the blackbird component
* Tests updated
* Handle updated
* Schema fixed
2018-05-02 09:21:50 -04:00
Otto Winter
e4655a7e63
Add MQTT Sensor device_class ( #14033 )
...
* Add MQTT Sensor device_class
* Add test
2018-05-01 15:38:08 -04:00
Paulus Schoutsen
83d300fd11
Custom component loading cleanup ( #14211 )
...
* Clean up custom component loading
* Fix some tests
* Fix some stuff
* Make imports work again
* Fix tests
* Remove debug print
* Lint
2018-05-01 20:57:30 +02:00