Commit graph

16956 commits

Author SHA1 Message Date
Rohan Kapoor
3e325a4ef9 Remove dead test code 2019-01-12 20:24:55 -08:00
Rohan Kapoor
0007f35f96 Lint 2019-01-12 19:23:19 -08:00
Rohan Kapoor
4e020b90e1 Switch locative to use the webhook component 2019-01-12 19:18:33 -08:00
ehendrix23
04636e9ba7 Add harmony service to remote services.yaml ()
Added the harmony_change_channel service to services.yaml for remote component.
2019-01-12 20:15:27 +01:00
Sean Dague
218c82eaf3
mychevy: Fix wrong attribute on battery level selector ()
The battery level sensor is broken because the logic for determining
if the battery is charged accessed the wrong variable. This one
character fix makes it work again.
2019-01-12 13:51:01 -05:00
ehendrix23
22c0733d8e Add service change_channel to Harmony component ()
* Update requirements

Updated requirements

* Add attributes

Add firmware and config version attributes

* Small bump for aioharmony

Small version bump increase for aioharmony

* Order ATTR constants

* Add the service

Add service change_channel

* Fix requirements file

For some reason aioharmony ended up in there as a duplicate. Fixed it.

* Updates based on review
2019-01-12 19:02:00 +01:00
Robert Svensson
d3f2854c89
UniFi - Fix issue with POE switch reset switch config ()
* Fix issue when controlling POE would reset configuration for all other ports on same device
2019-01-12 17:59:44 +01:00
carstenschroeder
eabc7b22cd Enable bool type for ADS service () 2019-01-12 16:36:50 +01:00
David F. Mulcahey
012e91f9b1 version bump for zha-quirks () 2019-01-12 15:21:30 +01:00
Jonathan Keljo
6395087a40 Upgrade greeneye_monitor to 1.0 ()
* Upgrade greeneye_monitor to 1.0

This is a breaking change; it causes the `serial_number` field in
configuration to be treated as the full 8-digit serial number rather
than the last 5 digits as was previously done, which results in the unique
identifiers for the sensors being different. (Fixing them up in
`config/.storage/core.entity_registry` before rebooting into the updated
version seems to prevent any weirdness.)

The last-5-digits behavior was a result of me misunderstanding the packet
format docs and not realizing that the true serial number was split across
two fields. In addition to being confusing (see
https://community.home-assistant.io/t/brultech-greeneye-issues/86852), it
was technically incorrect. The `greeneye_monitor` platform was just introduced
in 0.82, so it seems like the kind of thing that's best to fix now while
adoption is relatively low rather than later when somebody runs into it
as more than just a point of confusion.

* Switch to 8-character string

* Coerce to int

* Remove now-unnecessary cast
2019-01-11 20:54:22 -08:00
Matt Snyder
b3580f46b9 Update doorbird events to include URLs on event_data ()
* Update doorbird events to include URLs on event_data as shown in documentation.

(cherry picked from commit 2405bc96fe)

* Format timestamp

* Update timestamp

* Lint
2019-01-11 20:45:03 -08:00
Tommy Jonsson
3bdee57066 Support for html5 notifications to suggest their names ()
* support for devices to suggest their names

* houndci fixes

* Lint
2019-01-11 20:44:29 -08:00
Thomas Delaet
2208563de4 catch TypeError's in addition to ValueError's for unifi direct device tracker ()
* catch TypeError's in addition to ValueError's in response from unifi access point

sometimes unifi's access point returns incomplete json which results in a TypeError because ssid_table is None

* fix syntax error
2019-01-11 20:44:16 -08:00
Sriram Vaidyanathan
418fa226e6 'latest_dir' referenced before assignment ()
* 'latest_dir' referenced before assignment

local variable 'latest_dir' referenced before assignment

* Better fix
2019-01-11 20:44:01 -08:00
David F. Mulcahey
ba21608042 Repackage ZHA component ()
* move files

* rename files

* rename files

* move files

* relative import

* update coveragerc
2019-01-11 20:34:48 -08:00
Austin Drummond
7676b3fbe8 Add support for HomeKit Controller Locks ()
* Added HomeKit Controller Lock

* cleaned up code according to standards

* fixed lint issues

* added private constant for jammed state

* removed state_unknown
2019-01-12 03:48:28 +01:00
Alexei Chetroi
5ab3c7b765 Don't set friendly_name in Zha entity. ()
Use @property name instead of setting friendly_name device state attr.
2019-01-11 21:41:27 -05:00
Paulus Schoutsen
6cba51fd0e Lint 2019-01-11 16:31:16 -08:00
Louis-Etienne
fe148606b8 Wink: Update pubnubsub-handler version to make it compatible with python 3.7 () 2019-01-11 16:30:31 -08:00
Ville Skyttä
574669bd20 Upgrade pytest-cov to 2.6.1 () 2019-01-11 16:24:59 -08:00
Ville Skyttä
83c5dc67f7 Upgrade huawei-lte-api to 1.1.3 () 2019-01-11 16:24:31 -08:00
Paulus Schoutsen
2ffadde0a3
Add Hass.io user headers to supervisor proxy ()
* Add Hass.io user headers to supervisor proxy

* Update test_http.py

* Fix tests

* Update test_auth.py
2019-01-11 15:30:40 -08:00
pbalogh77
7dac7b9e5e Support for multiple Fibaro gateways ()
* Preparing for transition to config flow

Added multiple gateway support
Reworked parameter flow to platforms to enable multiple controllers
Breaking change to config, now a list of gateways is expected instead of a single config

* Updated coveragerc

Added new location of fibaro component

* Fixes based on code review and extended logging

Addressed issues raised by code review
Added extended debug logging to get better reports from users if the device type mapping is not perfect

* Changhes based on code review

Changes to how configuration is read and schemas
Fix to device type mapping logic

* simplified reading config

* oops

oops

* grr

grr

* change based on code review

* changes based on code review

changes based on code review
2019-01-11 15:29:54 -08:00
Rohan Kapoor
d820efc4e3 Split locative to a separate component ()
* Split locative to a separate component

* Switch tests to use constants for http codes

* Fix tests
2019-01-11 15:14:11 -08:00
Paulus Schoutsen
8755389c49 Bumped version to 0.86.0.dev0 2019-01-11 15:10:01 -08:00
Paulus Schoutsen
11647f9fab Merge remote-tracking branch 'origin/master' into dev 2019-01-11 15:09:48 -08:00
Paulus Schoutsen
578bfe9798 Fix fail2ban tests 2019-01-11 15:01:24 -08:00
Bas
8c27bf8c7c Expose more information about shipments by PostNL ()
* Expose more information about shipments by PostNL

* Update postnl.py
2019-01-11 14:59:31 -08:00
Andrew Chatham
ab4e1fddd5 Fix the anthemav component by removing a debugging line. ()
This lane ended up calling vars(transport) on an asyncio Transport
object. In a standard setup, that's a python object provided by syncio,
and it works. Home Assistant injects uvloop into asyncio, which makes this
a Python C object, and those don't support vars().
2019-01-11 23:34:32 +01:00
Fredrik Erlandsson
b9a488912a Add support for 'via_hub' for device_info ()
* Add support for 'via_hub'

* Update config schema

* add domain to via_hub

* add tests for via_hub
2019-01-11 13:11:13 -08:00
Matt Snyder
199db7219e Add ability to monitor relay events ()
* Add ability to monitor relay events

* Account for empty events array instead of none.
2019-01-11 13:07:12 -08:00
Martin Hjelmare
937688f7a6 Add mysensors state update delay ()
* Add mysensors state update delay

* Schedule state update after delay to avoid updating state multiple
  times during the same short timespan.

* Code review
2019-01-11 13:06:06 -08:00
Oliver
25408bd483 Include Scripts/ directory to .gitignore - this is created by virtualenv on Windows () 2019-01-11 13:04:56 -08:00
Mike Miller
a65d14c0cd Always use datetime and timedelta in camera.proxy instead of int/float () 2019-01-11 12:58:14 -08:00
Paulus Schoutsen
12d16d9bdc
Update test_auth.py 2019-01-11 12:55:23 -08:00
Antoine GRÉA
14dd8791ec Adding IPv6 to fail2ban sensor ()
* Fixing fail2ban regex for ipv6

* Adding IPv6 tests for fail2ban

* Formating code for hound

* Formating again

* Formating again 2
2019-01-11 12:54:47 -08:00
Paulus Schoutsen
088584b66d
Merge pull request from home-assistant/rc
0.85.1
2019-01-11 12:41:00 -08:00
Paulus Schoutsen
963ffa1ccc Bumped version to 0.85.1 2019-01-11 12:06:12 -08:00
Paulus Schoutsen
990e7c57f2 Fix warning ()
* Fix warning

* Update service.py
2019-01-11 12:05:56 -08:00
Daniel Shokouhi
0979ce476a Fix botvac connected alert retrieval 2019-01-11 12:05:07 -08:00
Alexei Chetroi
ded37d971d Don't map LevelControl to light for single cluster devices. () 2019-01-11 11:58:41 -08:00
David F. Mulcahey
7a83b86ebd check config instead of config_entry for quirks flag () 2019-01-11 11:58:40 -08:00
Paulus Schoutsen
8ef2f1f67b
Fix warning ()
* Fix warning

* Update service.py
2019-01-11 11:58:14 -08:00
Paulus Schoutsen
99c2e4ac44
Fix warning ()
* Fix warning

* Update service.py
2019-01-11 11:52:07 -08:00
Paulus Schoutsen
fe92cf1e72 Updated frontend to 20190109.1 2019-01-11 11:48:49 -08:00
Paulus Schoutsen
7dbbea2238 Updated frontend to 20190109.1 2019-01-11 11:48:32 -08:00
David F. Mulcahey
7be015fcc6 Add services and helper functions to support a config panel for ZHA ()
* reconfigure zha device service

add log line to reconfigure service for consistency

* add entity functions to support new services

* added new services and web socket api and split them into their own module

* support manufacturer code

logging to debug

get safe value for manufacturer

* update services.yaml

* add comma back

* update coveragerc

* remove blank line

* fix type

* api cleanup - review comments

* move static method to helpers - review comment

* convert reconfigure service to websocket command - review comment

* change path

* fix attribute
2019-01-11 11:34:29 -08:00
Paulus Schoutsen
a8f22287ca
Allow embedded platforms ()
* Allow embedded platforms

* Fix test
2019-01-11 11:30:22 -08:00
Jarle B. Hjortand
b3a08d5876 When tradfri experience communication errors make the lights/devices unavailable. () 2019-01-11 10:55:55 -08:00
Sebastian Muszynski
e2f55a959f Support next generation of the Xiaomi Mi Smart Plug (chuangmi.plug.m3) ()
* Support next generation of the Xiaomi Mi Smart Plug (chuangmi.plug.m3)

* Fix indent
2019-01-11 19:44:55 +01:00