Commit graph

1822 commits

Author SHA1 Message Date
Robert Svensson
ac13a2736b Deconz make groups configurable ()
* Make groups configurable

* Config flow and tests in place

* Fix too long line
2018-06-15 14:31:22 -04:00
Paulus Schoutsen
f744a29d9d
Add calendar panel, add tests () 2018-06-15 13:37:46 -04:00
Thibault Cohen
3cd4cb741c Add Calendar API endpoint to get events ()
* Add Calendar API endpoint to get events

* Set default event color

* Fix PR comments

* Fix PR comments

* Fix PR comments

* Remote local.py file

* Use iso 8601

* Fix lint

* Fix PR comments

* Fix PR comments

* Add Support for todoist and demo calendar

* Todoist events are allday events

* Add calendar demo api endpoint test

* Register only one api endpoint for calendar

* Rename demo calendar
2018-06-15 11:16:31 -04:00
Paulus Schoutsen
2c6e6c2a6f
Add config entry for Sonos + Cast ()
* Add config entry for Sonos

* Lint

* Use add_job

* Add Cast config entry

* Lint

* Rename DOMAIN import

* Mock pychromecast in test
2018-06-14 15:17:54 -04:00
Benedict Aas
c8e0de19b6 add relative time option to simulated sensors ()
By default simulated sensors are relative to when they're activated,
instead we make this togglable with this new option 'relative_to_epoch',
and instead they become relative to 1970-01-01 00:00:00.
2018-06-14 14:06:49 -04:00
Paulus Schoutsen
b2440a6d95
Fix tests ()
* Fix tests

* Lint
2018-06-14 11:57:09 -04:00
Nick Whyte
cdd111df49 Add sensor.nsw_fuel_station component ()
* Add sensor.nsw_fuel_station component

* bump dependency

* PR Changes

* flake8

* Use MockPrice

* Fix requirements

* Fix tests

* line length

* wip

* Handle errors and show persistent notification

* update tests

* Address @MartinHjelmare's comments

* Fetch station name from API

* Update tests

* Update requirements

* Address comments
2018-06-14 13:56:04 +02:00
Robin
cccd0deb65 Fix Facebox face data parsing ()
* Adds parse_faces

* Update facebox.py
2018-06-13 21:02:46 +02:00
Paulus Schoutsen
e014a84215
Nest config flow ()
* Move nest to dir based component

* Add config flow for Nest

* Load Nest platforms via config entry

* Add tests for Nest config flow

* Import existing access tokens as config entries

* Lint

* Update coverage

* Update translation

* Fix tests

* Address strings

* Use python-nest token resolution

* Lint

* Do not do I/O inside constructor

* Lint

* Update test requirements
2018-06-13 11:14:52 -04:00
Marius
08adfd87f7 Add unique_id for mqtt binary sensor ()
* Added unique_id for mqtt binary sensor

* Added missing mqtt message fire in test
2018-06-13 16:20:38 +02:00
Hate-Usernames
a373793029 pytradfri 5.5.1: Improved 3rd party bulb support ()
* Bump pytradfri version

* Update light component

* Add tests

* lint

* Docstring typos

* Blank line

* lint

* 5.5.1

* Fix tests on py3.5
2018-06-13 07:17:52 +02:00
Ong Vairoj
be4776d039 Add more test cases for samsungtv ()
More test cases to cover retry logic added in 58a1c3839
2018-06-12 07:33:21 +02:00
Malte Franken
f242418986 UVC camera platform handling unavailable NVR or cameras better ()
* fixed tests: using correct camera configuration now and error handling tests must be separated out to ensure that the setup_component call is actually executed

* better error handling during setup; raising PlatformNotReady in likely recoverable cases; added tests
2018-06-09 07:22:17 +02:00
Robert Svensson
0748466ffc Zone - Hass configuration name is optional ()
* Hass configuration name is optional

* Check explicitly if name is none

* Reverted back to old logic for zones configured in configuration.yaml, where many zones can have the same name

* New test to verify use case of allowing multiple zones having the same name

* Fix too long line
2018-06-07 17:06:13 -04:00
Dale Higgs
fe018fd58c Add set_default_level to logger ()
* Add set_default_service to logger

* Fix 2-line lint error

* Add set_default_level to services.yaml

* Add tests for set_default_level

* Remove function and add else when setting default
2018-06-07 17:03:04 -04:00
Philip Rosenberg-Watt
bb4d1773d3 Add min_temp and max_temp to MQTT climate device ()
* Add min_temp and max_temp to MQTT climate device

* Add unit tests

* Remove blank line

* Fix unit tests & temp return values

* PEP-8 fixes

* Remove unused import
2018-06-07 13:50:12 -04:00
Paulus Schoutsen
bf74cab7af Fix non awaited test () 2018-06-07 15:58:54 +02:00
Paulus Schoutsen
fa2e6ada26 Route themes and translations over websocket () 2018-06-06 10:12:43 +02:00
Paulus Schoutsen
a6880c452f Migrate entity registry to using websocket ()
* Migrate to using websocket

* Lint
2018-06-06 10:08:36 +02:00
Diogo Gomes
4bccb0d2a1
Merge pull request from home-assistant/sim-sensor
Limit sensor.simulated to 3 decimals (fixes )
2018-06-05 21:06:11 +01:00
Thomas Krüger
549abd9c7e Improved Fritz!Box thermostat support () 2018-06-05 20:06:25 +02:00
Fabian Affolter
f1aba5511f
Limit to 3 decimals (fixes ) 2018-06-05 19:44:41 +02:00
Paulus Schoutsen
b3b4f7468d
Further cleanup frontend ()
* Remove registering panels

* Remove unused image

* Lint
2018-06-05 10:50:16 -04:00
Diogo Gomes
aec425d1f6 Weather Platform - IPMA ()
* initial commit

* lint

* update with pyipma

* Added test

* Added test

* lint

* missing dep

* address comments

* lint

* make sure list is iterable

* don't bother with list

* mock dependency

* no need to add test requirements

* last correction
2018-06-03 23:01:48 +02:00
Matt Schmitt
f5d74e07d5 Add support for outlets in HomeKit () 2018-06-01 18:04:54 +02:00
Anders Melchiorsen
fcbc399809 Disallow automation.trigger without entity_id () 2018-06-01 10:27:12 -04:00
Paulus Schoutsen
f6eb9e79d5
Custom panel ()
* Add support for custom panels in JS

* Allow specifying JS custom panels

* Add trust external option

* Fix tests

* Do I/O outside event loop

* Change config to avoid breaking change
2018-06-01 10:06:17 -04:00
roiff
ab3717af76 Homekit Thermostat: Better support for temperature ranges ()
* Support for obtaining temperature range
* Fallback to Defaults
* Fixed unit conversion
* Added test
2018-06-01 13:49:16 +02:00
cdce8p
f1f4d80f24
Homekit Bugfixes ()
* Fix async bug
* Fix debounce bug
2018-05-30 12:39:27 +02:00
Paulus Schoutsen
e746b92e0e Fix deprecated code () 2018-05-29 23:14:58 +02:00
cdce8p
7d2563eb1f
Update HAP-python to 2.2.2 ()
* Pass driver to accessory
* Added 'hk_driver' fixture for tests
2018-05-29 22:43:26 +02:00
Robert Svensson
8c93b484c4 deCONZ - Option to load or not to load clip sensors on start ()
* Option to load or not to load clip sensors on start

* Full flow

* Fix config flow and add tests

* Fix attribute dark reporting properly

* Imported and properly configured deCONZ shouldn't need extra input to create config entry
2018-05-29 10:09:53 -04:00
Otto Winter
fcb60d472e MQTT Cover Fix Assumed State () 2018-05-29 09:03:45 -04:00
Paulus Schoutsen
8c7f0669c6 Allow hassio frontend development ()
* Allow hassio frontend development

* Fix tests
2018-05-29 08:51:08 +02:00
Andrey
6c3e2021df Give unknown zwave nodes a better name ()
* Give unknown zwave nodes a better name

* Update util.py
2018-05-28 21:49:38 -04:00
cdce8p
6f4dd7b057 Improve Homekit media_player options ()
* Optimize imports

* Optimize name

* Optimize config schema

* Rename mode to feature

* Replace mode with feature_list
2018-05-28 10:26:33 -04:00
Paulus Schoutsen
b6e4a7771a
Allow Hass.io panel dir () 2018-05-27 17:17:19 -04:00
Marius Kotlarz
b4f8d52fb1 Add configurable decimal rounding of display value for CoinMarketCap sensor and upgrade to 5.0.3 () () 2018-05-25 15:39:04 +02:00
Matt Schmitt
143be49c66 Add HomeKit support for automations () 2018-05-25 11:38:48 +02:00
Matt Schmitt
a9f19a16ee Add HomeKit support for media players () 2018-05-25 11:37:20 +02:00
cdce8p
0589379de5 Homekit style cleanup ()
* Style cleanup

* Sorted imports
* Harmonized service calls

* Test improvements

* Small update
2018-05-20 22:25:53 -04:00
Fabian Affolter
e88fc33eef Fix sensor name (fixes ) () 2018-05-19 17:14:53 +02:00
cdce8p
12e76ef7c1
Update HAP-python to 2.1.0 () 2018-05-18 16:32:57 +02:00
cdce8p
4c328baaa6
Add code to HomeKit lock () 2018-05-18 13:52:52 +02:00
Diogo Gomes
97076aa3fd Fix probability_threshold in binary_sensor.bayesian () (Closes: ) 2018-05-18 07:48:16 +02:00
Malte Franken
a3777c4ea8 Feedreader configurable update interval and max entries () 2018-05-18 07:25:08 +02:00
Nathan Henrie
1053473111 Add stdout and stderr to debug output for shell_command () 2018-05-16 13:47:41 +02:00
Matt Schmitt
25dcddfeef Add HomeKit support for fans () 2018-05-16 13:15:59 +02:00
Ville Skyttä
e20f88c143 Use "Returns" consistently to avoid being treated as section ()
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 ()
* 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