Commit Graph

10196 Commits (e8ce41874c8b637f666ab8809ff40be75c48221e)

Author SHA1 Message Date
Chris e8ce41874c Fix COMMAND_CLASS_BARRIER_OPERATOR for dev branch of OpenZwave ()
* Update zwave.py to work with updated OpenZwave library

Update zwave.py to work with updated OpenZwave library

* Update zwave.py

* Update zwave.py

* Update to fix garage door openers

Update to fix garage door support for latest version of openzwavelib

* Update to cover.zwave list of states

Update to cover.zwave to provide list of states based on dev version of
openzwave lib

* Some values not saved

* Formatting fix

* Formatting fix

* Variable typo

* Formatting fix

* Formatting

* Variable Update

Variable Update and properties added

* Formatting fixes

* Formatting Fix

* Update test case for door states

* Formatting / Testing process fix

* Formatting

* Formatting / Test Fixes

* Variable rename

* Added members to CoverDevice

* Removed un-needed else

* Formatting

* Formatting

* Variable name changes and const updates

* Changed variable names to cover_state
* Added constains into const.py
* Updated to change the main state on the cover device

* Fixes

* Formatting fixes

* Formatting/Variables

* Formatting

* Variable fixes

* Import update

* Formatting  / Variables

* Update test for new states

* Revert state changes

* Test fix

* Variable Fix

* Formatting

* Variable typo

* Missing constant

* Variable fix

* Requested changes

* Added is_opening
* Added is_closing
* Updated test based on changes

* Formatting

* Changed cover_state back to _state

* Formatting and variable fixes

* Test fixes

* Formatting and variable touchup

* Formatting

* Optimizations

* Add new cover features to demo

* Add tests for demo cover closing/opening

* Remove unused STATE_STOPPED

* Add tests for new zwave cover values
2017-07-27 18:57:30 -04:00
Brian Gehrich 0ab0e35d59 Updated pysnmp to 4.3.9 () 2017-07-27 22:33:17 +02:00
Pascal Vizeli 51108b8fe9 Hass.io: logo support / timeout handling ()
* Disable auth on logo / no timeout for addons update/install

* fix tests
2017-07-27 12:23:22 -07:00
Daniel Perna 9e6817b6d0 Upgrade pyhomematic to 0.1.30 () 2017-07-27 17:45:59 +02:00
Fabian Affolter 74581b57f8 Upgrade sqlalchemy to 1.1.12 () 2017-07-27 17:23:51 +02:00
Fabian Affolter 4fcaea23a8 Upgrade libnacl to 1.5.2 () 2017-07-27 17:23:07 +02:00
Fabian Affolter b59c29943b Upgrade fuzzywuzzy to 0.15.1 () 2017-07-27 17:22:40 +02:00
Richard Cox 1e8c00ac02 Adding support for mapping keys to value in statsd ()
* Adding ability to map specific states to values

* Adding test for mapping
2017-07-27 08:58:34 +02:00
Abílio Costa 9d5c61b2f0 MQTT Switch: add availability_topic for online/offline status ()
* mqtt switch: add availability_topic for online/offline status

* fix method doc strings

* MQTT Switch: add test
2017-07-27 08:24:15 +02:00
kfcook f5eeb252a7 Added support for SerenaHoneycombShades to Lutron Caseta ()
Add an optional extended description…
2017-07-27 08:14:12 +02:00
Robin 3b4ea864a1 Add uk_transport component. () 2017-07-26 20:49:52 +01:00
Jeff Wilson 3318f02664 Add transition support to light.zha ()
* Add transition support to light.zha

* Address hound formatting

* Address hound comments

Look, nobody is perfect... alright?

* Update zha.py
2017-07-26 17:22:31 +02:00
Greg Laabs 438edc5ca1 History performance improvements for single-entity requests ()
* Bugfix: remove superfluous domain filter

This filter is already applied later in the function by the `filters` object, where it is conditionally applied when appropriate. This fixes the problem where we get a domain filter even when searching for a single entity_id, which needlessly harms the query's performance.

* Performance: build different query when only getting single entity

When querying the history of a single entity, we can use an entirely different method for the "synthetic zero data point" by simply sorting by date and doing a LIMIT 1. This performs thousands of times better than the multi-entity query when the current recorder_run has been going for a while.

* Add entity_id filter to single-entity request

The entity_id filter was handled inside the `filters.apply` logic which is used in most cases, BUT didn't work when no `filters` was passed in to the method. Now it'll work even if no `filters` object is passed in.

* Fix linting errors in history.py

* Undo removal of domain filter

Putting back the domain filter that was removed in 76a6371705 - there are use-cases where get_states is called without a filter object, so we need the domain filter to work in those cases as well.

* Fix truncated comment
2017-07-26 11:22:01 -04:00
Boyi C abcfcdd887 Yahoo Weather update, supports forecast for more days ()
* work on weather panel

* update yahooweather with more forecast details

* Update yweather to allow user input forecast date

* fix for houndci

* fix long line

* fix1

* Revert "work on weather panel"

This reverts commit 28b4972233.

revert unintentional submodule change

* fix2

fix typo, add try catch to another int()

* fix pylint

* fix3

* fix4

* Update yweather.py

* Update yweather.py

* Remove global data construct

* Yahoo API support only 5 days forecast

* remove forecast

* fix lint

* fix lint p2

* Update yweather.py
2017-07-26 16:46:21 +02:00
Thomas Delaet fff269e790 Velbus ()
* add Velbus changes

* update library version

* fix python-velbus version

* bug fix and update python-velbus

* change config handling

* update velbus components/platforms

* add support for Velbus switches

* fix bugs

* typo

* add velbus fan

* update velbus library

* bug fix in logic of fan handling of speed settings

* add Velbus changes

change config handling

update velbus components/platforms

add support for Velbus switches

add velbus fan

* remove duplicate entry

* fix documentation links

* fix linting error

* regen requirements_all.txt

* add support for Velbus cover

* bugfix in cover component

* bugfix in cover component

* remove unused imports

* Travis fixes

* fix style

* fix style

* Update velbus.py

* Update velbus.py

* Update velbus.py

* Update requirements_all.txt

* Update velbus.py

* Update velbus.py

* Update velbus.py

* Update velbus.py

* fix style

* Update velbus.py

* Update velbus.py

* Update velbus.py

* Update velbus.py

* Update velbus.py

* Update velbus.py
2017-07-26 14:03:29 +02:00
Anders Melchiorsen 81a27e726c Upgrade aiolifx ()
This release includes a fix for multizone lights with zone counts that are not
a multiple of eight.
2017-07-26 12:33:00 +02:00
Marcelo Moreira de Mello 7c120748ce Fixes Fitbit sensor to report battery level with the expected device ()
Add an optional extended description…
2017-07-26 11:05:48 +02:00
Sean Gollschewsky e83816c055 Add component Light TPLink ()
* Add new component for TPLink light bulbs.

* Update with result of gen_requirements_all.

* Add new component light.tplink.
2017-07-26 09:04:40 +02:00
Paulus Schoutsen cd2703e121 Update dependencies cast + discovery () 2017-07-25 23:35:05 -07:00
Paulus Schoutsen c2828bac2c Tweak conversation/intent/shopping list () 2017-07-25 00:42:59 -07:00
Paulus Schoutsen ad7370e1c2 Update frontend 2017-07-25 00:29:05 -07:00
Adam Mills 3b7f16f189 Catch and log Lyft API errors () 2017-07-25 00:05:47 -04:00
Colin O'Dell cc03f7ee6a Manual alarm with MQTT control ()
* Manual alarm with MQTT control

* Duplicate manual control panel code instead of extending it

* Duplicate manual alarm test as well; modify for manual_mqtt

* Add MQTT-specific tests for manual_mqtt alarm
2017-07-24 09:06:38 -07:00
Corey Pauley ecc1429453 Added support for default value when environment variable is missing ()
* Added support for a default value when an environment variable is missing

* Shouldn't have used docstring
2017-07-24 09:00:01 -07:00
Justin Dray 98568b5eb7 Add support for using credstash as a secret store () 2017-07-24 08:59:10 -07:00
Paulus Schoutsen 9d9ca64f26 Update README.rst 2017-07-24 07:53:14 -07:00
Paulus Schoutsen 1d31137616 Update README.rst 2017-07-24 07:47:57 -07:00
Pascal Vizeli f86bd15580 Cleanup old device_tracker stuff ()
* Cleanup old device_tracker stuff

* Fix lint
2017-07-24 07:45:02 -07:00
matt2005 654ad41464 added onvif camera fix for non-virtual env installations ()
* added fix for non-virtual env installations

* fixed new line at end of file

* moved import os to top of file
2017-07-24 15:22:12 +02:00
Paulus Schoutsen a2abb4ae0a Update frontend 2017-07-24 00:11:58 -07:00
Jeff Wilson f3d9086ff4 Properly slugify switch.flux update service name () 2017-07-23 23:53:03 -07:00
Anton Lundin b0b6026c68 ubus: Make multiple instances work again ()
Back in "ubus: Refresh session on Access denied ()" I added the
decorator _refresh_on_acccess_denied. Somehow that stopped multiple ubus
trackers from working in parallel, and only the one first init'ed
worked.

Changing the order of the decorators fixes the issue but, I'm sorry to
say I can't figure out why. There's some magic somewhere which I'm
missing.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
2017-07-23 23:51:07 -07:00
Russell Cloran f0293eeac2 prometheus: Fix zwave battery level () 2017-07-23 23:49:03 -07:00
Phil Cole 4b449f5f93 Tado Fix ()
Handle case where 'mode' and 'fanSpeed' are missing JSON. Based on
changes in commit
adfb608f86
2017-07-23 23:48:20 -07:00
Daniel Schaal 1831a7da68 Check if /dev/input/by-id exists () 2017-07-23 23:47:38 -07:00
Marcelo Moreira de Mello 3fec2955a5 Bumped Amcrest version () 2017-07-23 23:46:23 -07:00
Phil Hawthorne 5d810dae86 REST binary sensor value_template optional ()
According to the documentation, the `value_template` for the REST
binary_sensor is not required. However, if you don't provide this when
setting up a binary sensor, the component fails. Looks like a variable
was not being set, which I've now included.

This should make the REST binary sensor act the same way as the REST
sensor now.
2017-07-23 22:42:41 +02:00
Fabian Affolter 486bcc4cae Upgrade mypy to 0.520 () 2017-07-23 20:20:38 +02:00
Fabian Affolter cc2de5e1dc Upgrade youtube_dl to 2017.7.23 () 2017-07-23 20:20:23 +02:00
cribbstechnologies 77d8e393a1 better but still not great () 2017-07-23 20:19:58 +02:00
Koen Ekelschot c6bf529d38 Allow set_cover_position in scenes () 2017-07-23 15:59:27 +02:00
Chia-liang Kao dac9716cf4 Fix STATION_SCHEMA validation on longitude () 2017-07-23 10:22:49 +02:00
Thomas Klingbeil 9043895407 make attributes in the fritzdect module easier to process ()
* make attributes in the fritzdect module easier to process
* remove spaces in attribute names
* move units to separate attributes

* make attributes in the fritzdect module easier to process
* remove spaces in attribute names
* move units to separate attributes

* Use new python formating syntax and attribute constant

* Shorten too long line

* Fix indent
2017-07-22 20:34:58 +02:00
Open Home Automation 2f08a91fdd Simplified percent conversion, better logging ()
* Simplified percent conversion, better logging

*  Unnecessary pass statement (unnecessary-pass)
2017-07-22 20:00:13 +02:00
Sean Gollschewsky 1807b45222 Binary sensor ping fixed for hassio ()
* Add support for multiple ping utilities.

* Added support for differing flavours of ping included with
different distributions (specifically alpine linux for hassio's
homeassistant).

* Updated as per comments in PR
2017-07-22 19:50:31 +02:00
Teemu R b4f392b181 bump python-mirobo version for more robust protocol handling, make the platform to update on startup () 2017-07-22 19:36:14 +02:00
William Scanlon 8e8ec7a7c3 Remove code in wink.py overwriting hass.data configurator () 2017-07-22 09:21:38 -04:00
Paulus Schoutsen 7edf14e55f Add Intent component ()
* Add intent component

* Add intent script component

* Add shopping list component

* Convert Snips to use intent component

* Convert Alexa to use intent component

* Lint

* Fix Alexa tests

* Update snips test

* Add intent support to conversation

* Add API to view shopping list contents

* Lint

* Fix demo test

* Lint

* lint

* Remove type from slot schema

* Add dependency to conversation

* Move intent to be a helper

* Fix conversation

* Clean up intent helper

* Fix Alexa

* Snips to use new hass.components

* Allow registering intents with conversation at any point in time

* Shopping list to register sentences

* Add HTTP endpoint to Conversation

* Add async action option to intent_script

* Update API.ai to use intents

* Cleanup Alexa

* Shopping list component to register built-in panel

* Rename shopping list intent to inlude Hass name
2017-07-21 21:38:53 -07:00
Paulus Schoutsen 7bea69ce83 update frontend 2017-07-21 21:29:58 -07:00
Russell Cloran 8d31c5fbf6 zha: Update to bellows 0.3.4 () 2017-07-21 21:22:43 -07:00