Commit graph

23862 commits

Author SHA1 Message Date
Ville Skyttä
5e2ba2eb77
Enable some more bandit checks ()
* Enable B108 (hardcoded tmp dir), address findings

* Enable B602 (subprocess popen with shell), address findings

* Enable B604 (start process with shell), address findings

* Enable B306 (mktemp), B307 (eval), and B325 (tempnam), no issues to address
2020-01-20 18:44:55 +02:00
Franck Nijhof
6cf20fc7fa Fix deCONZ update entry from Hassio discovery ()
* Fix deCONZ update entry from Hassio discovery

* Empty commit to re-trigger build
2020-01-20 08:18:10 -08:00
Franck Nijhof
f7a97dae2d Adds missing strings to Withings () 2020-01-20 16:26:44 +01:00
Franck Nijhof
d2b0031f55 Adds missing strings to Almond () 2020-01-20 16:26:06 +01:00
David Bonnes
9b02ca96ba
Small tweaks for evohome () 2020-01-20 13:39:02 +00:00
Bas Nijholt
a010577d6e Add kef supports_on option ()
* add supports_on_off option

* modify support_kef inplace

* all speakers support turning off remotely
2020-01-20 14:24:13 +01:00
Josh Bendavid
a634e62dfc Minor fixes for webostv ()
* restore emulation of play pause toggle

* add protection to notify setup

* add state check for power off to avoid switching tv back on
2020-01-20 10:43:20 +01:00
Ronald Dehuysser
053f18d6ce Add attributes departure_minutes and delay_minutes to the nmbs sensor ()
* Improve sensor for automations

I've updated the sensor so that departure time and delay can be used in automatons.

Before, the departure time and delay time were only available wrapped in strings which makes it difficult to use them in automations. Using the extra attributes, one can easily use them in automations.

* Update homeassistant/components/nmbs/sensor.py

Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>

* Updates based on review

Changed min to minutes as requested

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-01-20 09:51:59 +01:00
Aaron Bach
9993333bf9 Add state reproduction to remotes () 2020-01-19 23:08:32 -08:00
Jeff Irion
bb37f7bb75 Fix capability_attributes when supported_features is None ()
* Fix capability_attributes when supported_features is None (water_heater)

* Fix capability_attributes when supported_features is None (media_player)
2020-01-19 23:06:35 -08:00
Faucogney Anthony
b2212ad445 Add Derivative component ()
* create derivation component

based on integration component
remove left and right

* Update test

(was'n saved)

* add some functionnal point test

* Change derivation to derivative

* Continue migration from derivation to derivative

* Add codeowners info

* fix tests typo and values

* Improve code from reviewer

add test case
fix test values
still a prefix issue that should not

* create derivation component

based on integration component
remove left and right

* Update test

(was'n saved)

* add some functionnal point test

* Change derivation to derivative

* Continue migration from derivation to derivative

* Add codeowners info

* fix tests typo and values

* Improve code from reviewer

add test case
fix test values
still a prefix issue that should not

* Update homeassistant/components/derivative/sensor.py

Fix test issue with unit of measurement

Co-Authored-By: Santobert <tobhaase@gmail.com>

* Fix review

Move ValueError to SyntaxError

* precise state test

* un comment original tests and remove error tests

* Fix isort issue

* Fix review

- update doc link
- migrate to general const import

* Rollback import conf_unit, just defined localy

Co-authored-by: Santobert <tobhaase@gmail.com>
2020-01-19 22:17:06 -08:00
zhumuht
5f31b48f1d print component import error to logfile () 2020-01-19 22:05:10 -08:00
Raman Gupta
e535133016 Fix options update during import config flow step for vizio component (Bugfix for ) ()
* fix options update logic during import

* add missing tests

* fix abort reasons and strings, add missing test

* combine steps when testing esn already exists

* readd removed test

* no mock_coro_func needed

* add block_until_done and assert entry options
2020-01-19 20:13:15 -08:00
Paulus Schoutsen
0c3ffbe282
Add foundation for integration services ()
* Add foundation for integration services

* Fix tests

* Remove async_get_platform

* Migrate Sonos partially to EntityPlatform.async_register_entity_service

* Tweaks

* Move other Sonos services to media player domain

* Move other Sonos services to media player domain

* Address comments

* Remove lock

* Fix typos

* Use make_entity_service_schema

* Add area extraction to async_extract_entities

Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-01-19 17:55:18 -08:00
HomeAssistant Azure
f20b3515f2 [ci skip] Translation update 2020-01-20 00:31:55 +00:00
David Bonnes
a40a5a754b initial commit () 2020-01-19 14:29:15 -08:00
Paulus Schoutsen
ecef0f6e93
Catch all Ring timeout errors ()
* Catch more Ring errors

* Fix comment & Disable wifi entities by default
2020-01-19 13:39:16 -08:00
steve-gombos
8fcd0e9a79 Ring camera fix ()
* Fix ring camera entities

* Reverted test refresh interval

* Fix black errors
2020-01-19 13:18:11 -08:00
Paulus Schoutsen
765b45c81b
Improve Wemo config entry support, add device info ()
* Improve config entry support, add device info

* async_dispatch_connect

* Fix I/O in event loop

* Do not raise PlatformNotReady inside dispatcher

* Make main discovery process async

* Do discovery as part of set up.

* Greatly simplify set up

* Add parallel updates to fan&switch

* mini cleanup

* Address comments
2020-01-19 13:13:10 -08:00
Paulus Schoutsen
e4a53d3a08
Improve Wemo config entry support, add device info ()
* Improve config entry support, add device info

* async_dispatch_connect

* Fix I/O in event loop

* Do not raise PlatformNotReady inside dispatcher

* Make main discovery process async

* Do discovery as part of set up.

* Greatly simplify set up

* Add parallel updates to fan&switch

* mini cleanup

* Address comments
2020-01-19 12:57:48 -08:00
Paulus Schoutsen
f14d34560e
Improve Wemo config entry support, add device info ()
* Improve config entry support, add device info

* async_dispatch_connect

* Fix I/O in event loop

* Do not raise PlatformNotReady inside dispatcher

* Make main discovery process async

* Do discovery as part of set up.

* Greatly simplify set up

* Add parallel updates to fan&switch

* mini cleanup

* Address comments
2020-01-19 12:56:31 -08:00
Jan De Luyck
90e811df20 Update emulated_roku to 0.2.0 () 2020-01-19 21:01:16 +01:00
Quentame
7c155731fc
Fix can't add multiple iCloud accounts (remove account name) ()
* Fix can't add multiple iCloud accounts (remove account name)

* Update tests with flow.async_init()
2020-01-19 14:19:46 +01:00
HomeAssistant Azure
6c84c126ea [ci skip] Translation update 2020-01-19 00:32:00 +00:00
David F. Mulcahey
078ce24e5a Add logical Zigbee device type to ZHA device info ()
* add device type to device info
* capitalize
* use zigpy logical device type
2020-01-18 19:27:55 -05:00
ajmarks
656ef6566b Minor enhancements to jewish_calendar ()
* Minor enhancement to jewish_calendar:
 - Expose more halachic times from the underlying hdate module
 - Correct and standardize some transliterations

* Undo breking name change

* Add icon for talit time

Co-authored-by: Andrew Marks <52414333+amarks-coatue@users.noreply.github.com>
2020-01-18 21:33:18 +01:00
Barry Williams
afb1b0cd3c Add play media support and Spotify control to Openhome () 2020-01-18 18:37:39 +01:00
Alexei Chetroi
26fb1ce255 Don't use unit_of_measurement in state attributes. () 2020-01-18 10:03:59 -05:00
springstan
4b67508330 Revert "Pulseaudio: Changed default port from 4712 to 4713 ()" ()
This reverts commit e915dd0d95.
2020-01-18 14:02:15 +01:00
David Bonnes
a037c1d788
Add services to evohome () 2020-01-18 12:21:22 +00:00
David Bonnes
bfa8cb760f
Add services to geniushub ()
adds:
 - `set_zone_override`, and
 - `set_zone_mode`
2020-01-18 12:14:50 +00:00
Raman Gupta
8630a076a7 Use default media player device classes for vizio component ()
* use media player defined device classes instead of custom ones, add options flow test, add timeout options parameter

* make options update error more generic

* fix config flow options update logic

* simplify logic for options update during import

* use platform list for load and unload

* update private config flow function name and description

* fix grammar in strings.json

* update mock config variable names to be more accurate

* remove timeout conf option, create device_class property

* update requirements

* update .coveragerc to indicate that config_flow has tests

* fix source of device_class property and move constants to const.py

* fix grammar in error message

* remove redundant device check in async_setup_entry since device connection is checked during config flow

* revert change to async_setup_entry, raise ConfigEntryNotReady if device can't be connected to

* update error text

* add more context to error text
2020-01-18 09:15:05 +01:00
springstan
52cee84c2c Update outdated documentation links in json files () 2020-01-17 21:41:42 -08:00
Alexei Chetroi
3bf657284c
Refactor rounding for ZHA electrical measurement sensor () 2020-01-17 20:53:31 -05:00
Alexei Chetroi
58520aa733 Add battery voltage state attribute for ZHA devices ()
* Add battery voltage state attribute for ZHA devices.

* Pylint.
2020-01-17 19:43:02 -05:00
HomeAssistant Azure
4d7c8e254b [ci skip] Translation update 2020-01-18 00:31:52 +00:00
Paulus Schoutsen
9f20185cee
Fix hue accepting filename () 2020-01-17 15:38:38 -08:00
Robert Svensson
c9db21ffac Fix service device refresh calling state update () 2020-01-17 15:33:46 -08:00
Robert Svensson
7b29a498c6 Fix issue with group unique id when normalising bridge id () 2020-01-17 15:28:34 -08:00
ochlocracy
1d41cf96ca Fix Alexa semantics for covers with tilt support. ()
* Fix Alexa semantics for covers with tilt support.

* Clarify wording.

* Korrect grammar.
2020-01-17 15:04:46 -08:00
Bram Kragten
e33698b17d Updated frontend to 20200108.2 () 2020-01-17 14:54:53 -08:00
Paulus Schoutsen
8cacef47f3
camera endpoint likes to timeout, catch it. () 2020-01-17 14:54:32 -08:00
Joakim Sørensen
a5a69bdf71 Adds icon endpoint to NO_AUTH ()
* Adds icon endpoint to NO_AUTH

* Add test for no_auth icon get

* Blackout
2020-01-17 13:54:28 -08:00
Peter Nijssen
196bf2f3a0 remove PostNL component as it is no longer working () 2020-01-17 12:51:32 -08:00
Aaron Bach
847196dbe8
Remove option to configure SimpliSafe scan interval ()
* Enforce minimum scan interval for SimpliSafe

* Remove scan interval all together

* Fix tests
2020-01-17 13:43:41 -07:00
David F. Mulcahey
31996120dd add multistate back () 2020-01-17 13:06:10 -05:00
SukramJ
d913d35fc3 Fix missing switch groups of HomematicIP Cloud () 2020-01-17 18:37:32 +01:00
Alexei Chetroi
8a78b65f0d
Extract collection entity registry cleaner into a helper ()
* Extract entity_registry_keeper into separate helper
* Refactor input_*, timer and person to use new helper.
* Make Mypy happy.
* Better name.
2020-01-17 11:41:46 -05:00
cgtobi
da368f0cb8 Update pyatmo to 3.2.2 and add available attribute ()
* Update pyatmo to 3.2.1

* Update pyatmo to 3.2.2

* Remove accidentally added requirements

* Add availability property
2020-01-17 17:08:30 +01:00
Raman Gupta
d63ea198f2 Bump pyvizio version to 0.1.1 ()
* bump pyvizio version to resolve setup issue

* update requirements*.txt
2020-01-17 08:48:59 +01:00