Commit Graph

14191 Commits (8f70c168639aba2db682b0478eb9a4028c862a57)

Author SHA1 Message Date
Andre Lengwenus 8f70c16863 Add LCN cover platform ()
* Add LCN cover platform

* Removed unused default value

* Moved cover component to lcn platform directory. Small changes due to change request

* Closed state is set before updating
2019-02-23 10:13:15 +01:00
Daniel Shokouhi 2aa7bdb1d5 Allow google home component device tracker to be optional () 2019-02-23 01:01:09 -08:00
David Conley b437b87655 Allow custom_effect to be absent from Flux configuration ()
* Allow custom_effect to be absent from Flux configuration

* set custom effect to none during setup
2019-02-23 00:13:40 +01:00
philipperequile 2b3c31cdb0 Add more ads plc types ()
* Update __init__.py

Support for 2 new 4-byte PLC datatypes DINT and UDINT

* Update __init__.py

* Fix lint issue

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Support for 2 new PLC types

Sensor supports DINT and UDINT PLC types

* Update __init__.py

I removed unused TYPES = [ADSTYPE_INT, ADSTYPE_UINT, ADSTYPE_BYTE, ADSTYPE_DINT, ADSTYPE_UDINT]
2019-02-22 23:52:46 +01:00
Andrew Sayre 8b38b82e73 Enhance SmartThings component subscription ()
* Move to config v2 to store SmartApp oauth keys

* Add migration functionality.

* Regenerate refresh token on periodic basis

* Fix regenerate and misc. optimizations

* Review feedback

* Subscription sync logic now performs a difference operation

* Removed config entry reloading.
2019-02-22 20:35:12 +01:00
Robert Svensson d9712027e8
Config entry options ()
Add support for options flow for config entries
2019-02-22 17:59:43 +01:00
Phil Cole caa3b123ae Nissanleaf ()
* Remove unneeded returns from handle_update()

* Start __init__() params with hass.

* Remove excess logging and downgrade remaining logging.

* Remove period from end of comment

* Decorate callback with @callback

* Use more descriptive variables than key and value.

* Inherit from BinarySensorDevice and overwrite is_on rather than state.

* Removed uncheckedreturn values.

* Use super() rather than explicit object.

* Use add_entities instead of add_devices.

* Don't use listener when calling immediately.

* Remove some excess logging.

* Switch to sync since pycarwings2 is sync.

* Remove RuntimeError exception matching.

* Add temporary reviewer comments.

* Add UI help descriptions for update service.

* Fix hound errors.

* Replaced time.sleep() with await asyncio.sleep()

* Removed location_updateon_on attribute since on device_tracker.

* Use async_added_to_hass() and async_dispatcher_connect().

* Use dict[key] because schema key is required.

* Clarify variable names.

* Remove icon for charging switch.

* Convert LeafChargeSwitch into service and sensor.

* Use async_dispatcher_send().

* Add guard checks for discovery_info. Consistent logs.

* Use async_schedul_update_ha_state().

* Device tracker should return true.

* Remove icon for climate control.

* Really remove icon for climate control.

* Use register() instead of async_register().

* Add guard on device tracker if discovery_info is None.
2019-02-22 17:34:23 +01:00
Fabian Affolter 3f29e91367 Remove index ()
* Remove index

* Remove emnumerate
2019-02-22 14:11:07 +01:00
Paulus Schoutsen 3fcbc36abe Update translations 2019-02-21 16:40:25 -08:00
Paulus Schoutsen bf4fb36bb1
Fix yeelight config validation () 2019-02-21 16:39:17 -08:00
Paulus Schoutsen ac502980a2
Do not warn for internally loaded components () 2019-02-21 14:57:38 -08:00
David McNett d9a44f2a78 Version bump: python-anthemav to v1.1.9 () 2019-02-21 23:24:29 +01:00
Aaron Bach d0e88d9628
Fix unhandled exception in Ambient PWS config entry () 2019-02-21 13:27:34 -07:00
David F. Mulcahey a2877c4ea0
update services.yaml () 2019-02-21 14:39:55 -05:00
Teemu R 94be43e3e1 Add support for automatic discovery of TP-Link switches, bulbs and dimmers ()
* {switch,light}.tplink: use deviceid as unique id, fetch name from the device during initialization

* raise PlatformNotReady when no device is available

* Use mac instead of deviceid

* remove name option as obsolete

* Add support for configuration flow / integration

Allows activating automatic discovery of supported devices from the configuration

* Fix linting, update requirements_all.txt

* start cleaning up tplink component based on feedback

* add device info, improve config handling

* Allow overriding detected devices via configuration file

* Update requirements.txt

* Remove debug logging

* make hound happy

* Avoid I/O during init and simplify the code, remove remains of leds_on

* Fix issues based on feedback, use consistent quotation marks for device info

* add async_setup_platform emiting a deprecation warning

* Avoid blocking the I/O, check for None on features

* handle some Martin's comments, schema-validation is still missing

* use async_create_task instead of async_add_job, let core validate the schema

* simplify configuration handling by storing the configuration data separately from initialized instances

* add default values to schema, make hound happy

* with defaults set by schema, simplify the checks. add async_unload_entry

* Use constant for data structure access

* REWORD add a short note about async_unload_entry

* handle feedback from Martin, config_data is checked against Noneness

* use pop to remove the domain on unload

* First steps to add tests for the new tplink component

* embed platforms under the component directory

* Fix tests by mocking the pyhs100 internals

* Fix linting

* Test against multiple instances of devices, tidy up

* (hopefully) final linting round

* Add pyHS100 to test requirements

* log always the warnings occured during an update to make them easy to see

* revert back the warning behavior (requirement for silver level in IQS)

* Unload only when an entry is being loaded and add tests for that

Thanks @MartinHjelmare for pointing this out!

* Fix linting

* Bump the upstream lib, fixes most prominently the HSV setting on bulbs

* Test unloading for all platforms, clear the data storage instead of popping it out, making it possible to reconfigure after removal without restarting hass first

* Use class variables instead of instance variables for bulb states, required for HS220

* Use new-style format string

* Fix indenting, uppercase the mock constant

* Run black on test_init, hopefully that will finally fix the weird formatting (pycharm, pylint and hound seems to have different opinions...)
2019-02-21 20:29:07 +01:00
Tobias Hoff c637bad1eb account specific cookies file to enable multiple accounts () 2019-02-21 10:35:27 -08:00
Miroslav Ždrale 565f513b77 Added device tracker support for Ubee Router ()
* Added Ubee Router Device Tracker.

* Updated code to meet requirements.

* Code clean-up.

* Code clean-up.

* Code clean-up.

* Minor error message update

* Ubee device tracker: Minor code clean-up

* Bump pyubee version

* Code clean-up
2019-02-21 09:24:37 -08:00
Paulus Schoutsen 4c4317fb37
Add SamsungTV Mac validation () 2019-02-21 08:52:45 -08:00
Joakim Plate 998b5f6d19 Add missing configation option ()
Fixes https://github.com/home-assistant/home-assistant/issues/21254
2019-02-21 08:26:26 -08:00
Joakim Plate 6b7a5cfcad Add missing configuration option to plex ()
Fixes part of: https://github.com/home-assistant/home-assistant/issues/21254
2019-02-21 08:26:09 -08:00
Gido e764d9461a Update rova component with suffix for house number ()
* Update rova component with release rova release 0.1.0
Add house_number_suffix to configuration

* Set default value for house_number_suffix
2019-02-21 09:51:36 -05:00
OleksandrBerchenko 09692143d0 Correctly detect devices, which went offline during HA restart ()
* Correctly detect devices, which went offline during HA restart

* Update __init__.py
2019-02-21 14:48:17 +01:00
David F. Mulcahey 0f8575f939 Fix ZHA bugs ()
* fix bugs

* add comment

* allow entities to be marked unavailable
2019-02-21 14:20:58 +01:00
Paulus Schoutsen 2435456248 Prevent partial custom component overlays ()
* Prevent partial custom component overlays

* Fix tests
2019-02-21 09:41:36 +01:00
Fredrik Erlandsson 73099caede Alarm trigger support for Point () 2019-02-21 06:50:02 +01:00
Fabian Affolter 966fd1034d Upgrade opensensemap-api to 0.1.4 () 2019-02-20 17:46:37 -07:00
Paulus Schoutsen ddd63c615f Remove constraint from regex () 2019-02-20 21:31:41 +01:00
Paulus Schoutsen 03573781c7 Updated frontend to 20190220.0 2019-02-20 08:55:42 -08:00
Finbarr Brady 54949cff5a Support OpenWRT 18.06 in luci device tracker ()
* Got it right this time i hope

* updates on comments
2019-02-20 16:55:00 +01:00
damarco 1518a80069 Bump zigpy ()
* Bump zigpy

* Update requirements

* Update test requirements

* Bump zigpy-deconz
2019-02-20 16:34:59 +01:00
David F. Mulcahey cece6454e4 Fix bug in ZHA and tweak non sensor channel logic ()
* fix race condition and prevent profiles from stealing channels

* fix battery voltage
2019-02-20 16:33:29 +01:00
David F. Mulcahey 5b24b271cc Don't dispatch to components when there are no channels for ZHA sensors ()
* don't dispatch when channels don't exist

* review comment
2019-02-20 16:27:03 +01:00
Marco Gazzola 5115dfada2 Add zone and reps for Xiaomi vacuum ()
* xiaomi vacuum with zone and reps

* tail whitespace

* tail whitespaces

* new version

* fix params typs

* fix param type

* line length

* rytilahti tips

* houndci-bot

* fix trevis

* rytilahti tips

* service description

* syssi fix

* MartinHjelmare tips

* MartinHjelmare

* data_template schema

* line lenght

* line lenght

* line lenght

* data_template schema

* fix

* Update homeassistant/components/vacuum/xiaomi_miio.py

Co-Authored-By: marcogazzola <dev@marcogazzola.com>

* Update homeassistant/components/vacuum/xiaomi_miio.py

Co-Authored-By: marcogazzola <dev@marcogazzola.com>

* xiaomi vacuum with zone and reps

* tail whitespace

* new version

* fix param type

* rytilahti tips

* rytilahti tips

* MartinHjelmare

* data_template schema

* line lenght

* line lenght

* data_template schema

* fix

* Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev

* Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev"

This reverts commit e1f370b3b45d2541c8117146b0940d7c2b5bc8b0.

* log fixed

* Revert "log fixed"

This reverts commit 1f0e7b35e8.

* Revert "Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev""

This reverts commit 1cf9e5ae1f.

* Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev"

This reverts commit 0e8d53449a.

* log fixed
2019-02-20 15:44:04 +01:00
Aaron Bach 7e06d03b45 Fix an Ambient PWS exception when location info is missing () 2019-02-20 12:10:42 +01:00
Paulus Schoutsen cf3a8b60ff Prevent invalid context from crashing ()
* Prevent invalid context from crashing

* Lint
2019-02-20 08:02:56 +01:00
Daniel Perna 27d598fff8
Update pyhomematic to 0.1.56 () 2019-02-20 00:31:46 +01:00
Paulus Schoutsen 49995c2120
Fix the build () 2019-02-19 13:52:14 -08:00
Paulus Schoutsen f452409cfa Updated frontend to 20190219.0 2019-02-19 10:14:33 -08:00
zewelor fb820975b5 Add yeelight flow action support () 2019-02-19 19:06:40 +01:00
David F. Mulcahey 3be8178035 Refactor ZHA listeners into channels ()
* refactor listeners to channels

* update coveragerc
2019-02-19 09:58:22 -08:00
Johann Bauer fe4a2b5b31 Fix Homematic IP Cloud configuration ()
`homematicip.aio.auth.isRequestAcknowledged` returns false if the
request failed in stead of raising an error.

See coreGreenberet/homematicip-rest-api@0b61954f6a

Closes: 
2019-02-19 09:53:20 -08:00
carstenschroeder df8589c36a Push pyads to 3.0.7 ()
* Push to pyads 3.0.7

* Correct too long line
2019-02-19 18:42:00 +01:00
Diogo Gomes b0f317743b ordered by last occurence () 2019-02-19 08:45:21 -08:00
ehendrix23 99eda385d1 Set aioharmony version to 0.1.8 ()
Update aioharmony version to support latest HUB firmware (4.15.250).
2019-02-19 08:44:42 -08:00
Fabian Affolter e3cfcbad69
Upgrade numpy to 1.16.1 () 2019-02-19 16:04:56 +01:00
Julien Brochet 98c3c02daa Bump Synology SRM dependency to version 0.0.6 ()
* Bump Synology SRM dependency to version 0.0.6

* Add @aerialls to the Synology SRM code owners
2019-02-19 10:01:47 -05:00
Fabian Affolter 2d2c6cf4a1
Use constants from const.py ()
* Use constants from const.py

* Fix lint issues
2019-02-19 14:09:06 +01:00
Daniel Perna 9d3eaada27
Netatmo, address comments from ()
Netatmo component cleanup
2019-02-19 10:53:45 +01:00
Fabian Affolter baaeaab61d
Upgrade crimereports to 1.0.1 () 2019-02-19 10:04:14 +01:00
starkillerOG 921efbdfef Philips Hue: Add bridge update prompt ()
* Add a prompt if bridge update is available.

* Change logger warning for light update

The self.light.swupdatestate only checks for updates of that specific light, it does not check for updates of the bridge.
Theirfore the warning message schould be updated.

* add space

* fix tests

* rename to swupdate2_bridge_state

* update aiohue to v1.9.1

* update aiohue to v1.9.1

* update aiohue to v1.9.1
2019-02-18 21:31:42 -08:00