Commit graph

8057 commits

Author SHA1 Message Date
Fabian Affolter
b2ecaa189a [binary_sensor.arest] Fix name for sensor and shorten logger messages ()
* Fix name for sensor and shorten logger messages

* Use variable as name if none is given
2017-01-24 19:54:14 +01:00
ecksun
f5062b06a9 media_player.kodi: Add SSL config option ()
This readds support for https for kodi, resolves issue 
2017-01-24 18:20:18 +01:00
Fabian Affolter
cd260d89cb Add location to attributes and option to show position on the map (sensor.iss) ()
[sensor.iss] Add location to attributes and option to show position on the map
2017-01-24 10:02:17 +01:00
Aaron Polley
38d9dc996b Piglow support ()
* Add support for Piglow

* Updated coverage and requirements

* Add support for Piglow

* Updated coverage and requirements

* Fix linting errors

* Fix linting errors

* Remove trailing whitespace

* Shorter lines

* Remove trailing whitespace

* Update piglow.py

* Pinned piglow version

* Remove unused method

* Remove unused imports

* Fix lint errors

* Update requirements all

* Updated Piglow to allow the component name to be changed

* Fix imports

* Pass in name

* The piglow platform now fails if it cannot detect the piglow device

* Tidy subprocess import
2017-01-24 09:41:33 +01:00
Robbie Trencheny
be2c9ccee2 Merge pull request from robbiet480/update-hdmi-cec
Update pyCEC version
2017-01-23 23:34:02 -08:00
Robbie Trencheny
dd0110e06d Update pyCEC version 2017-01-23 23:33:16 -08:00
Fabian Affolter
64fc6a08d3 Fix typos () 2017-01-23 13:25:38 -08:00
Fabian Affolter
a83b61ad58 Allow direct messaging to user () 2017-01-23 13:24:45 -08:00
andrey-git
b7e477fbba Copy val in config.py before modifying ()
* Copy val before modifying

* Bad line location
2017-01-23 13:24:13 -08:00
Fabian Affolter
318b0f4f36 Upgrade beautifulsoup4 to 4.5.3 () 2017-01-23 13:23:41 -08:00
Petr Vraník
900868708e check cec message length when asking physical address ()
* cec client object

* cec command structure

* autodetect source

* volume support and native source select

* switch device

* media player device

* detecting of state

* friendly names

* hdmi cec properties

* presence detection

* simplified callbacks

* stable names

* renamed methods

* code cleanup

* name with vendor

* fixed standby call name

* fake standby/poweron

* domain switch

* domain switch

* async updating

* update separated

* cec -> hass event bridge

* fixed name generation

* code cleanup

* code cleanup

* icon constants

* code cleanup

* do not register unavailable devices

* discovery of deevices

* code cleanup

* cec device discovery

* moved method implementation into child

* service descriptions

* service descriptions

* service descriptions

* changed entity init sequence

* logging cleanup

* add remove as job

* closing cec, no service schemas

* correct iterate over dictionary

* Volume by commands

* threading

* logging minimized

* get load out of main thread

* naming cleanup

* get load out of main thread

* optimized discovery

* async where possible

* cleanup logging, constructors first

* pydoc

* formatting

* no async_update from out of loop
no hiding entities
removed redundant device_state_attributes
async updating presence

* no async

* working async cec

* cec in thirdparty lib

* cec initialized oudsice

* working without SIGSEGV

* rollbacked file changed by mistake

* sending of commands

* working with ha

* using hass loop and device driven updates

* version up

* version up

* Command types in pycec, cleanup for HA integration

* Removed media player, state moved to switch

* service descriptions

* requirements: pyCEC

* line width to 79

* doc

* doc

* overindentation solved

* HDMI to uppercase

* minimal dependency on cec

* removed unwanted line

* doc wording

* margin 79

* line continuation indent

* imperative doc

* lint: indentation

* fixed overindented

* fixed overindented

* fixed overindented

* fixed overindented

* order of imports

* PEP8

* keep signature of overriding

* removed redundant blank line

* fixed update call method ()

* Preparation for merge to upstream ()

* newer version of pyCEC
* updated services.yaml
* fixed lint scrpt to operate only on python files

* pycec version up

* update services

* no coverage report

* exclude non python files from lint

* lint only on python files

* Dev ()

* reordered
* sending nonserialized data through hass.data
* code formatting
* code formatting
* import order

* Dev ()

* newer version of pyCEC
* updated services.yaml
* fixed lint scrpt to operate only on python files

* pycec version up

* update services

* no coverage report

* exclude non python files from lint

* lint only on python files

* reordered

* sending nonserialized data through hass.data

* import order

* fixed object handling

* code formatting

* Backwards compatibility of hdmi_cec ()

* services:
power_on
standby
active_source

* new version of pyCEC ()

* newer version of pyCEC

* devices config ()

* getting device name from config

* shutdown fix ()


* correct call on shutdown

* remove misplaced annotations ()

* Preparation for merge to upstream ()

* newer version of pyCEC
* updated services.yaml
* reordered
* sending nonserialized data through hass.data
* services:
power_on
standby
active_source
* code formatting
* getting device name from config
* correct call on shutdown

* pyCEC version 0.3.6 ()

* newer version of pyCEC
* updated services.yaml
* sending nonserialized data through hass.data
* services:
** power_on
** standby
** active_source
* getting device name from config
* correct call on shutdown
* fork new thread on multicore machines
* support both config schemas: original and new ()
* volume press and release support ()

* support for media_player ()

* accept hexadecimal format of commands
* support for media player
* platform customization
* type constants

* Dev ()

* accept hexadecimal format of commands
* support for media player
* platform customization

* TCP CEC support ()

* accept hexadecimal format of commands
* support for media player
* platform customization
* preparing tcp support

* volume handling ()

* Incorporated CR remarks ()

* cleanup imports
* cleanup and enhance services description
* removed unwanted file

* implemented CR remarks ()

* pyCEC v0.4.6
* pined dependency version
* tighten service schemas

* requirements ()

* incorporate remarks from users ()

* home-assistant-31 make mute schema better ()

* pycec-30 pyCEC version up ()

* pycec-30 pyCEC version up ()

* home-assistant-30 OSD display name from configuration () ()

* Home assistant 29 ()

* home-assistant-29 counting from 0 ()

* Home assistant 31 ()

* home-assistant-31 add support for mute-on and mute-off ()

* home-assistant-31 pyCEC version up ()

* Home assistant 31 ()

* home-assistant-31 Limit OSD name to 13 chars ()

* home-assistant-31 Limit OSD name to 13 chars moved to CEC adapter ()

* home-assistant-31 version up ()

* home-assistant-31 formatting ()

* formatting

* service description

* service description

* single attribute for volume

* fixed mute on -> mute off

* moved config constant from core into component

* check cec message length when asking physical address () ()

* cec turn on/turn off commands instead of power

* cec turn on/turn off commands instead of power
2017-01-23 13:22:39 -08:00
Fabian Affolter
d5119a0520 Use device_state_attributes () 2017-01-23 13:21:12 -08:00
Robbie Trencheny
9bc9e7fbc4 Dont set a speed when fan turns on () 2017-01-23 13:20:54 -08:00
Adam Mills
f54f68903d Fixes for rest tests ()
* Fixes for rest tests

* Linter fixes

* Alternate test_setup_missing_config implementation
2017-01-23 10:17:29 -05:00
Adam Mills
8217a42960 Don't start test thread as daemon and wait until patching is done () 2017-01-23 07:03:55 +02:00
Robbie Trencheny
9442131373 Add organization docs 2017-01-22 16:21:20 -08:00
andrey-git
addc2c4340 Allow easier customization of whole domain, entity lists, globs. () 2017-01-22 21:19:50 +02:00
Marcelo Moreira de Mello
ab19577322 Bump amcrest version and refactored to simplify code ()
* Bumped version to Amcrest 1.1.3 and rebase self.base_url()

* Refactored amcrest camera and amcrest sensor to simply object reference
2017-01-22 14:22:25 +01:00
Daniel Perna
59b0491d29 Homematic fixes + device support ()
* Using new MaxShutterContact class

* Skip unnecessary function calls

* Added casting for VALUE

* Some renaming to clarify what's happening

* Bumped dependency version

* Bumped version in requirements
2017-01-22 14:20:49 +01:00
Fabian Affolter
75adb7ff46 Upgrade Sphinx to 1.5.2 () 2017-01-22 11:36:29 +01:00
Matthew Garrett
2992cd35be Add support for Leviton Decora Bluetooth dimmer switches ()
* Add support for Leviton Decora Bluetooth dimmer switches

Add support for the Decora Bluetooth smart dimmer switches from Leviton.

* Update decora.py
2017-01-21 14:14:08 -08:00
Petr Vraník
06361b1ed1 implementing users remarks ()
* cec client object

* cec command structure

* autodetect source

* volume support and native source select

* switch device

* media player device

* detecting of state

* friendly names

* hdmi cec properties

* presence detection

* simplified callbacks

* stable names

* renamed methods

* code cleanup

* name with vendor

* fixed standby call name

* fake standby/poweron

* domain switch

* domain switch

* async updating

* update separated

* cec -> hass event bridge

* fixed name generation

* code cleanup

* code cleanup

* icon constants

* code cleanup

* do not register unavailable devices

* discovery of deevices

* code cleanup

* cec device discovery

* moved method implementation into child

* service descriptions

* service descriptions

* service descriptions

* changed entity init sequence

* logging cleanup

* add remove as job

* closing cec, no service schemas

* correct iterate over dictionary

* Volume by commands

* threading

* logging minimized

* get load out of main thread

* naming cleanup

* get load out of main thread

* optimized discovery

* async where possible

* cleanup logging, constructors first

* pydoc

* formatting

* no async_update from out of loop
no hiding entities
removed redundant device_state_attributes
async updating presence

* no async

* working async cec

* cec in thirdparty lib

* cec initialized oudsice

* working without SIGSEGV

* rollbacked file changed by mistake

* sending of commands

* working with ha

* using hass loop and device driven updates

* version up

* version up

* Command types in pycec, cleanup for HA integration

* Removed media player, state moved to switch

* service descriptions

* requirements: pyCEC

* line width to 79

* doc

* doc

* overindentation solved

* HDMI to uppercase

* minimal dependency on cec

* removed unwanted line

* doc wording

* margin 79

* line continuation indent

* imperative doc

* lint: indentation

* fixed overindented

* fixed overindented

* fixed overindented

* fixed overindented

* order of imports

* PEP8

* keep signature of overriding

* removed redundant blank line

* fixed update call method ()

* Preparation for merge to upstream ()

* newer version of pyCEC
* updated services.yaml
* fixed lint scrpt to operate only on python files

* pycec version up

* update services

* no coverage report

* exclude non python files from lint

* lint only on python files

* Dev ()

* reordered
* sending nonserialized data through hass.data
* code formatting
* code formatting
* import order

* Dev ()

* newer version of pyCEC
* updated services.yaml
* fixed lint scrpt to operate only on python files

* pycec version up

* update services

* no coverage report

* exclude non python files from lint

* lint only on python files

* reordered

* sending nonserialized data through hass.data

* import order

* fixed object handling

* code formatting

* Backwards compatibility of hdmi_cec ()

* services:
power_on
standby
active_source

* new version of pyCEC ()

* newer version of pyCEC

* devices config ()

* getting device name from config

* shutdown fix ()


* correct call on shutdown

* remove misplaced annotations ()

* Preparation for merge to upstream ()

* newer version of pyCEC
* updated services.yaml
* reordered
* sending nonserialized data through hass.data
* services:
power_on
standby
active_source
* code formatting
* getting device name from config
* correct call on shutdown

* pyCEC version 0.3.6 ()

* newer version of pyCEC
* updated services.yaml
* sending nonserialized data through hass.data
* services:
** power_on
** standby
** active_source
* getting device name from config
* correct call on shutdown
* fork new thread on multicore machines
* support both config schemas: original and new ()
* volume press and release support ()

* support for media_player ()

* accept hexadecimal format of commands
* support for media player
* platform customization
* type constants

* Dev ()

* accept hexadecimal format of commands
* support for media player
* platform customization

* TCP CEC support ()

* accept hexadecimal format of commands
* support for media player
* platform customization
* preparing tcp support

* volume handling ()

* Incorporated CR remarks ()

* cleanup imports
* cleanup and enhance services description
* removed unwanted file

* implemented CR remarks ()

* pyCEC v0.4.6
* pined dependency version
* tighten service schemas

* requirements ()

* incorporate remarks from users ()

* home-assistant-31 make mute schema better ()

* pycec-30 pyCEC version up ()

* pycec-30 pyCEC version up ()

* home-assistant-30 OSD display name from configuration () ()

* Home assistant 29 ()

* home-assistant-29 counting from 0 ()

* Home assistant 31 ()

* home-assistant-31 add support for mute-on and mute-off ()

* home-assistant-31 pyCEC version up ()

* Home assistant 31 ()

* home-assistant-31 Limit OSD name to 13 chars ()

* home-assistant-31 Limit OSD name to 13 chars moved to CEC adapter ()

* home-assistant-31 version up ()

* home-assistant-31 formatting ()

* formatting

* service description

* service description

* single attribute for volume

* fixed mute on -> mute off

* moved config constant from core into component
2017-01-21 14:13:46 -08:00
Craig J. Ward
a89a4f39dc only check for devices when not defined in config ()
* only check for devices when not defined in config

* lint
2017-01-21 14:00:56 -08:00
Greg Dowling
74989f7941 Bump pyvera version (add RFX device support) () 2017-01-21 12:26:57 -08:00
Stefan Jonasson
ed12f9e237 Tellstick light fix ()
* Fixed crash when lights objects was inited

* Fixed initial value for tellstick lights

* Fixed problem with lights not working with the turn_on action.
2017-01-21 12:24:48 -08:00
Fabian Affolter
13d801e1c6 Upgrade sqlalchemy to 1.1.5 () 2017-01-21 12:24:23 -08:00
Fabian Affolter
f13774269d Upgrade speedtest-cli to 1.0.2 () 2017-01-21 18:26:17 +01:00
joopert
56ed00a1db update nad library version () 2017-01-21 13:24:38 +01:00
Dale Higgs
a6f341f06a Add exit code to check_config script () 2017-01-21 10:39:50 +03:00
Lupin Demid
ccd2588cf7 added speed and emotion to Yandex tts ()
* Added speed and emotion  parameters. Refactored test's

* Fixed float point arfs in url and added test for float point values
2017-01-21 08:36:28 +01:00
Pascal Vizeli
2fff8a5a11 [TTS] options support for service calls ()
* [TTS] Support now options like voice and age on service.

* Add unittest
2017-01-21 08:35:18 +01:00
Robbie Trencheny
074f9315d7 Fan improvements ()
* Remove SPEED_MED from fan

* Correctly use the oscillation on/off payloads for MQTT fan

* Add set_direction service documentation

* Correct function name for Wink fans

* Check for existence of the correct topic

* Enable set fan speed in emulated_hue

* features -> functions

* Final emulated_hue fan fixes

* Fix linting issues

* Revert to supported features instead of supported functions

* Fix logic

* Add a test for emulated_hue fan support
2017-01-20 22:21:28 -08:00
Robbie Trencheny
2efd7d4e4a Hue improvements ()
* Allow automatic removal of all Hue entities from emulated_hue

* Allow disabling of Hue groups

* Only add device state attributes if they need to be there
2017-01-20 22:20:07 -08:00
Paulus Schoutsen
14309401d0 Update frontend 2017-01-20 22:10:44 -08:00
Pascal Vizeli
b2203f7f41 [ffmpeg] Use new 1.0 version / migrate all asyncio ()
* [ffmpeg] Use new 1.0 version / migrate all asyncio

* fix lint

* fix import

* Add new service to binary_sensors

* fix lint
2017-01-20 21:56:22 -08:00
Robbie Trencheny
dec2ddb393 Merge pull request from xhostplus/roku-idle
Updated Roku IDLE state
2017-01-20 21:54:04 -08:00
Robbie Trencheny
58b698400e Set Roku name to the device name instead of the serial number () 2017-01-20 21:28:29 -08:00
Robbie Trencheny
26f6a9ee20 Bump requirements 2017-01-20 20:24:00 -08:00
Robbie Trencheny
6b0a6b87de Use is_screensaver 2017-01-20 20:23:20 -08:00
Robbie Trencheny
db97ad4485 Merge pull request from stu-gott/tts-cache
TTS: Invalidate broken file cache entries
2017-01-20 17:44:32 -08:00
Stu Gott
ec4b148a71 TTS: Invalidate broken file cache entries
If a cached file cannot be read by the TTS component, then it should
be removed from the file cache--or it will remain broken.
2017-01-20 20:09:03 -05:00
John Arild Berentsen
41ee798b0f [WIP][ZWave][Lock] Further improvements to zwave lock platform ()
* Further improvements to zwave lock platform

* Add missing notification

* Some improvements
2017-01-20 13:01:36 -08:00
Martin Vacula
f4d2d69a5d Beaglebone Black binary sensor ()
* Configuration parameters defined

* Edge detection added

* Example configuration added and tipo corrected

* Comments updated, lint update

* Added check for input pull_mode

* Too long line

* trailing white space

* Configuration parameters defined

* Edge detection added

* Example configuration added and tipo corrected

* Comments updated, lint update

* Added check for input pull_mode

* Too long line

* trailing white space

* pylint disable import error

* read_input() changed to return boolean value, according changes in binary sensor

* example configuration in docstring changed to mention direct web link, pylint update

* read_input() updated according review
2017-01-20 12:55:28 -08:00
Petr Vraník
067e11ea5c HDMI CEC - support for devices and commands ()
* cec client object

* cec command structure

* autodetect source

* volume support and native source select

* switch device

* media player device

* detecting of state

* friendly names

* hdmi cec properties

* presence detection

* simplified callbacks

* stable names

* renamed methods

* code cleanup

* name with vendor

* fixed standby call name

* fake standby/poweron

* domain switch

* domain switch

* async updating

* update separated

* cec -> hass event bridge

* fixed name generation

* code cleanup

* code cleanup

* icon constants

* code cleanup

* do not register unavailable devices

* discovery of deevices

* code cleanup

* cec device discovery

* moved method implementation into child

* service descriptions

* service descriptions

* service descriptions

* changed entity init sequence

* logging cleanup

* add remove as job

* closing cec, no service schemas

* correct iterate over dictionary

* Volume by commands

* threading

* logging minimized

* get load out of main thread

* naming cleanup

* get load out of main thread

* optimized discovery

* async where possible

* cleanup logging, constructors first

* pydoc

* formatting

* no async_update from out of loop
no hiding entities
removed redundant device_state_attributes
async updating presence

* no async

* working async cec

* cec in thirdparty lib

* cec initialized oudsice

* working without SIGSEGV

* rollbacked file changed by mistake

* sending of commands

* working with ha

* using hass loop and device driven updates

* version up

* version up

* Command types in pycec, cleanup for HA integration

* Removed media player, state moved to switch

* service descriptions

* requirements: pyCEC

* line width to 79

* doc

* doc

* overindentation solved

* HDMI to uppercase

* minimal dependency on cec

* removed unwanted line

* doc wording

* margin 79

* line continuation indent

* imperative doc

* lint: indentation

* fixed overindented

* fixed overindented

* fixed overindented

* fixed overindented

* order of imports

* PEP8

* keep signature of overriding

* removed redundant blank line

* fixed update call method ()

* Preparation for merge to upstream ()

* newer version of pyCEC
* updated services.yaml
* fixed lint scrpt to operate only on python files

* pycec version up

* update services

* no coverage report

* exclude non python files from lint

* lint only on python files

* Dev ()

* reordered
* sending nonserialized data through hass.data
* code formatting
* code formatting
* import order

* Dev ()

* newer version of pyCEC
* updated services.yaml
* fixed lint scrpt to operate only on python files

* pycec version up

* update services

* no coverage report

* exclude non python files from lint

* lint only on python files

* reordered

* sending nonserialized data through hass.data

* import order

* fixed object handling

* code formatting

* Backwards compatibility of hdmi_cec ()

* services:
power_on
standby
active_source

* new version of pyCEC ()

* newer version of pyCEC

* devices config ()

* getting device name from config

* shutdown fix ()


* correct call on shutdown

* remove misplaced annotations ()

* Preparation for merge to upstream ()

* newer version of pyCEC
* updated services.yaml
* reordered
* sending nonserialized data through hass.data
* services:
power_on
standby
active_source
* code formatting
* getting device name from config
* correct call on shutdown

* pyCEC version 0.3.6 ()

* newer version of pyCEC
* updated services.yaml
* sending nonserialized data through hass.data
* services:
** power_on
** standby
** active_source
* getting device name from config
* correct call on shutdown
* fork new thread on multicore machines
* support both config schemas: original and new ()
* volume press and release support ()

* support for media_player ()

* accept hexadecimal format of commands
* support for media player
* platform customization
* type constants

* Dev ()

* accept hexadecimal format of commands
* support for media player
* platform customization

* TCP CEC support ()

* accept hexadecimal format of commands
* support for media player
* platform customization
* preparing tcp support

* volume handling ()

* Incorporated CR remarks ()

* cleanup imports
* cleanup and enhance services description
* removed unwanted file

* implemented CR remarks ()

* pyCEC v0.4.6
* pined dependency version
* tighten service schemas

* requirements ()
2017-01-20 12:39:18 -08:00
Colin O'Dell
cb47d16282 Don't use Debian's httpredir for backports ()
Hopefully this solves https://github.com/home-assistant/home-assistant/pull/5322#issuecomment-273041585
2017-01-20 12:30:09 -08:00
Adam Mills
5ff9dfa440 Use voluptuous for cast ignore-cec () 2017-01-20 12:21:27 -08:00
Adam Mills
a7e5c847fb Kodi supports volume stepping () 2017-01-20 20:52:55 +01:00
Daniel Høyer Iversen
72d63517ba Merge pull request from MrMep/patch-4
Update generic_thermostat.py
2017-01-20 18:16:40 +01:00
John Arild Berentsen
c41cf7c308 Bugfix Zwave Light: Use only supported features for devices ()
* Use only supported features for devices

* Changes

* Holy Macarony!
2017-01-20 13:35:41 +01:00
Pascal Vizeli
8496975de8 Fix if none data is present for a sensor. () 2017-01-20 09:07:03 +01:00