Commit Graph

12369 Commits (0d8fb992b12e9eea86716753fd2f302b1addb458)

Author SHA1 Message Date
Tom Harris 0d8fb992b1 3.4 lint clean up 2018-02-19 21:35:23 -05:00
Tom Harris 4a2d320823 Check device_override has address 2018-02-19 20:54:39 -05:00
Tom Harris 9de69600f0 lint cleanup 2018-02-19 18:16:49 -05:00
Tom Harris 9367a17dc9 Insteon_PLM 2018-02-19 17:42:30 -05:00
Tom Harris fd3240edf3 Pylint clean up 2018-02-19 17:17:37 -05:00
Tom Harris 15e9eef13c Format long lines 2018-02-19 16:23:43 -05:00
Tom Harris 5bef1fc741 rename _device and _state to avoid conflicts with Entity 2018-02-19 16:12:25 -05:00
Tom Harris e077806bc2 Fix device_class property to return the sensor type correctly. 2018-02-18 13:38:39 -05:00
Tom Harris a7a718f3c8 Fix binary_sensor type to default to None 2018-02-18 13:30:00 -05:00
Tom Harris 4cda478766 Remove newname feature 2018-02-18 11:25:29 -05:00
Tom Harris 8a2b0c70ca Use new nameing format for groups that are not group 0x01 2018-02-18 10:54:48 -05:00
Tom Harris 6c558464b9 Fix format issue 2018-02-18 01:19:23 -05:00
Tom Harris 2a7cc56208 Code review adjustments 2018-02-18 01:06:35 -05:00
Tom Harris 7037b08f45 Fix format issues 2018-02-17 23:10:00 -05:00
Tom Harris 28103512ef Remove unnessary references 2018-02-17 22:59:12 -05:00
Tom Harris 6d4701f479 Correct reference to OnOffSwitch_OutletTop and bottom 2018-02-17 22:51:13 -05:00
Tom Harris a3455fdfa7 Simplify import of modules 2018-02-17 22:49:04 -05:00
Tom Harris e87c117a2f Move imports inside classes 2018-02-17 22:44:50 -05:00
Tom Harris 701ba7b17f Fixed format issues 2018-02-17 17:49:24 -05:00
Tom Harris 9736890d70 Fixed format issues 2018-02-17 17:46:54 -05:00
Tom Harris e3f9fde1da Fix format issues 2018-02-17 17:35:34 -05:00
Tom Harris a00c9f6205 Fix format issues 2018-02-17 17:24:02 -05:00
Tom Harris dd506602a1 Correct format issues 2018-02-17 17:12:30 -05:00
Tom Harris c804b5f602 Fix trailing whitespace 2018-02-17 16:55:55 -05:00
Tom Harris 13ae2a7ee5 Fix format issues 2018-02-17 16:43:58 -05:00
Tom Harris ab2ee0ddf7 Fix format errors 2018-02-17 16:35:55 -05:00
Tom Harris 6de2339c12 Merge with latest dev branch 2018-02-17 15:54:18 -05:00
Tom Harris e84ff33870 Bump insteonplm to 0.8.2 2018-02-17 15:11:16 -05:00
Paulus Schoutsen 371fe9c78f
Add example in test how to create list or object in template (#12469) 2018-02-17 11:47:20 -08:00
Adam Mills 22a007a785
Bump aioautomatic to 0.6.5 for voluptuous 0.11 (#12480) 2018-02-17 14:13:27 -05:00
Matthew Hilton 66dcb6c947 ONVIF Camera added Error handling and rtsp authentication. (#11129)
Bugfixes for several issues with hass.io and non-venv installations

Added passing of credentials to RTSP stream

Changed from ONVIFService to ONVIFCamera as ONVIFService didn't contain
the same error handling.

Changed method to get Stream URL from camera to a more compatible method

Added extra Error handling
2018-02-17 08:57:05 -05:00
Richard Lucas fab991bbf6 Map Alexa StepVolume responses to volume_up/down (#12467)
It turns out I misunderstood which media_player services are available
when a media player supports StepVolume. This PR maps the Alexa
StepSpeaker messages to the volume_up and volume_down services.

Currently Alexa allows you to specify the number of steps but the media
player volume_up and volume_down services don't support this. For now I
just look to see if the steps are +/- and call up/down accordingly.
2018-02-17 08:54:15 -05:00
Paulus Schoutsen 3fd61d8f45 Update voluputous (#12463)
* Update voluputous

* Fix http config

* Fix optional with default=None

* Optional, default=none

* Fix defaults in voluptuous schemas

* Fix tests

* Fix update error

* Lint
2018-02-17 10:29:14 +01:00
Paulus Schoutsen e4ef6b91d6 Typo 2018-02-16 23:24:12 -08:00
Simon Nørager Sørensen dd7bffc28c Add the Xiaomi TV platform. (#12359)
* Added the Xiaomi TV platform.

* Implemented a more efficient default name.

* Fixed a few style errors that slipped past the eye.

* Indicate that state is assumed.
2018-02-16 15:09:20 -08:00
Paulus Schoutsen 26340fd9df Bump frontend to 20180216.0 2018-02-16 15:06:46 -08:00
Otto Winter fe5626b927 Make WUnderground async (#12385)
* 🐎 Async WUnderground

* ∞ Them lines be too long

* Fix pylint warnings

* Changes according to comments

* Remove STATE_UNKNOWN

* 🔬 Fix tests

* Improve tests
2018-02-16 14:54:11 -08:00
Paulus Schoutsen b3a47722f0
Initial support for Config Entries (#12079)
* Introduce Config Entries

* Rebase fail

* Address comments

* Address more comments

* RequestDataValidator moved
2018-02-16 14:07:38 -08:00
Ryan McLean 2053c8a908 Fix for contentRating error (#12445)
* Fix for contentRating

* Use getattr instead of hasattr

* Lint
2018-02-16 11:51:19 -08:00
Andrey 13d6e56106 Fix light template to return brightness as int (#12447) 2018-02-16 09:32:11 -08:00
Sebastian Muszynski 1f041d54d9 Fake the state for a short period and skip the next update. (#12446)
On state change the device doesn't provide the new state immediately.

Flag the device as unavailable if no communication is possible.
2018-02-15 22:01:34 -08:00
Jesse Hills 8d48272cbd Add effects to iGlo Lights (#12365)
* Add effects to iGlo Lights
Simplify state variables to library

* Fix lint issues
2018-02-15 21:57:58 -08:00
Tabakhase facd833e6d Vagrant - sendfile python3.5 debian-stretch (#12454)
* vagrant dev - force hass-AIOHTTP to not use sendfile
Ref: https://www.virtualbox.org/ticket/9069
strongly needed for `home-assistant-polymer`

* vagrant dev - python 3.4 to 3.5 by upgrade to debian-stretch
2018-02-15 21:53:10 -08:00
Anders Melchiorsen 0e2d98dbf5 Optimize recorder purge (#12448) 2018-02-15 20:22:57 -08:00
Diogo Gomes d43a8e593a [SQL Sensor] always close session (#12452)
* close aborted session

* blank line
2018-02-15 20:20:45 -08:00
Aaron Bach c7c0df53aa AirVisual: Entity Registry updates and cleanup (#12319)
* AirVisual: Entity Registry updates and cleanup

* Small cleanup

* Owner-requested changes

* Changed hashing function

* Put a better class instatiation mechanism in place

* Small cleanup

* Reverting unintended breaking change

* Removing hashing as part of creating the unique ID

* Attempting to jumpstart Travis
2018-02-15 14:52:47 -08:00
Igor Bernstein 612dd30201 Stop mapping zigbee switches to lights & switches. (#12280)
Zigbee switches only contain client clusters that are meant to control server clusters on a different device/endpoint.
This device type -> cluster mapping can be found in https://www.nxp.com/docs/en/user-guide/JN-UG-3076.pdf.
The intended usage is of connecting client clusters to server clusters is described in https://products.currentbyge.com/sites/products.currentbyge.com/files/document_file/DT200-GE-Zigbee-Primer-Whitepaper.pdf

The lack of server clusters on switches has been verified using a GE ZigBee Lighting Switch 45856GE and a 45857GE dimmer.

Output from a 45856GE:
Device:
  NWK: 0x0cd8
  IEEE: 00:22:a3:00:00:1f:37:68
  Endpoints:
    1: profile=0x104, device_type=DeviceType.ON_OFF_LIGHT
      Input Clusters:
        Basic (0)
        Identify (3)
        Groups (4)
        Scenes (5)
        On/Off (6)
        Metering (1794)
        Diagnostic (2821)
      Output Clusters:
        Time (10)
        Ota (25)
    2: profile=0x104, device_type=DeviceType.ON_OFF_LIGHT_SWITCH
      Input Clusters:
        Basic (0)
        Identify (3)
        Diagnostic (2821)
      Output Clusters:
        Identify (3)
        On/Off (6)
2018-02-15 14:51:54 -08:00
Sergio Viudes f0d9e5d7ff Fix: timeout data attribute now is parsed to float (#12432) 2018-02-15 14:49:46 -08:00
Diogo Gomes d18709df5b Update CODEOWNERS (#12440)
As contributor of the components
2018-02-15 13:40:30 -08:00
Paulus Schoutsen f32911d036 Cleanup http (#12424)
* Clean up HTTP component

* Clean up HTTP mock

* Remove unused import

* Fix test

* Lint
2018-02-15 22:06:14 +01:00