Fabian Affolter
424fe95ce4
Upgrade keyring to 11.0.0 ( #12082 )
...
* Upgrade keyring to 11.0.0
* Address the removal of 'keyring.__version__'
2018-01-31 09:03:20 -08:00
Taylor Peet
434d2afbfc
Influx import improvements ( #11988 )
...
* Influx import improvements
* fix line length issues
* fixing pylint spaces
* Added refined except clause
* Fix progress bar and exclude issues
* fix travis lint too many blank lines
* Minor changes
2018-01-31 11:39:15 +01:00
Ville Skyttä
cab6c694c5
Flake8 bugbear fixes ( #12072 )
...
* Don't use mutable argument defaults (bugbear B006)
* Use callable(x) instead of hasattr(x, '__call__') (bugbear B004)
* Remove/mark unused loop control variables (bugbear B007)
* Fix stripping protocol from kodi host name (bugbear B005)
* Fix plant daily history add default date (bugbear B008)
2018-01-30 14:44:05 -08:00
Paulus Schoutsen
ec1c395f09
Extract requirements ( #12051 )
2018-01-30 12:30:47 +01:00
Otto Winter
8dcfd35b8b
Spelling fixes ( #12041 )
...
* Spelling fixes
*Lots* of them.
* Spelling breaking changes
* Fix lint errors
2018-01-29 23:37:19 +01:00
Robert Schütz
2b68bec428
check_config.py: allow colorlog==3.1. ( #11927 )
2018-01-26 10:43:55 -08:00
Fabian Affolter
47e31dc9ee
Fixes for PEP257 ( #11810 )
...
* Fixes for PEP257
* More updates
2018-01-20 22:35:38 -08:00
Fabian Affolter
5656b0eb2c
Upgrade keyring to 10.6.0 ( #11608 )
2018-01-13 09:02:25 +01:00
Fabian Affolter
c4bc42d527
Upgrade keyring to 10.3.2 ( #11531 )
2018-01-09 19:51:35 -08:00
Fabian Affolter
9b8c64c8b6
Upgrade credstash to 1.14.0 ( #10310 )
2017-11-03 13:51:17 +01:00
TopdRob
6057b41151
update boto3 to 1.4.7 and botocore to 1.7.34 ( #10121 )
2017-10-29 10:24:56 +01:00
Paulus Schoutsen
79b029a680
Do not auto-install credstash ( #9844 )
2017-10-12 23:57:45 -07:00
Paulus Schoutsen
8f06b35dfc
Optimize event matcher ( #9798 )
...
* Optimize event matcher
* Tweak order of checks
* Add a benchmark for time_changed helper
* Add state change benchmark
* fix lint
2017-10-10 22:26:03 +02:00
Michael Prokop
08b0629eca
Fix a bunch of typos ( #9545 )
...
s/Addres /Address /
s/Chnage/Change/
s/Converion/Conversion/
s/Supressing/Suppressing/
s/agains /against /
s/allready/already/
s/analagous/analogous/
s/aquired/acquired/
s/arbitray/arbitrary/
s/argment/argument/
s/aroung/around/
s/attibute/attribute/
s/auxillary/auxiliary/
s/befor /before /
s/commmand/command/
s/conatin/contain/
s/conection/connection/
s/coresponding/corresponding/
s/entites/entities/
s/enviroment/environment/
s/everyhing/everything/
s/expected expected/expected/
s/explicity/explicitly/
s/formated/formatted/
s/incomming/incoming/
s/informations/information/
s/inital/initial/
s/inteface/interface/
s/interupt/interrupt/
s/mimick/mimic/
s/mulitple/multiple/
s/multible/multiple/
s/occured/occurred/
s/occuring/occurring/
s/overrided/overridden/
s/overriden/overridden/
s/platfrom/platform/
s/positon/position/
s/progess/progress/
s/recieved/received/
s/reciever/receiver/
s/recieving/receiving/
s/reponse/response/
s/representaion/representation/
s/resgister/register/
s/retrive/retrieve/
s/reuqests/requests/
s/segements/segments/
s/seperated/separated/
s/sheduled/scheduled/
s/succesfully/successfully/
s/suppport/support/
s/targetting/targeting/
s/thats/that's/
s/the the/the/
s/unkown/unknown/
s/verison/version/
s/while loggin out/while logging out/
2017-09-23 17:15:46 +02:00
morberg
b21bfe50d7
Add LC_CTYPE to environment variables in macOS ( #9227 )
...
* Add LANG to environment variables
Some componentes, e.g. tradfri, will not work properly unless LANG is an UTF-8 environment.
* Set LC_CTYPE to UTF-8
2017-09-13 21:35:25 -07:00
morberg
e2fc9669f0
Add /usr/sbin to PATH ( #9364 )
...
The `braviatv`platform needs the `arp` command to finalize configuration. This resides in `/usr/sbin`, at least on macOS 10.10.
2017-09-11 09:31:05 +02:00
Fabian Affolter
dd0ca0adc4
Upgrade credstash to 1.13.3 ( #9088 )
2017-08-22 13:32:46 +03:00
Fabian Affolter
c77d2ea341
Remove dash ( #9089 )
2017-08-22 13:31:53 +03:00
Fabian Affolter
0fe4245620
Allow usage of colorlog 3.0.1 ( #8885 )
2017-08-08 10:16:04 +02:00
Nathan Henrie
e525d13a5d
Fix typo ( #8754 )
2017-07-31 09:00:09 -07:00
Justin Dray
98568b5eb7
Add support for using credstash as a secret store ( #8494 )
2017-07-24 08:59:10 -07:00
Martin Hjelmare
543e8bb62e
Fix check for running inside venv ( #8481 )
...
* Import and use the function from pip instead of defining it
ourselves.
* Fix tests.
2017-07-15 07:25:02 -07:00
Martin Hjelmare
ba019c799a
Make deps directory persistent over upgrades ( #7801 )
...
* Use pip install --user if venv not active
* Set PYTHONUSERBASE to deps directory, when installing with --user
option.
* Reset --prefix option to workaround incompatability when installing
with --user option. This requires pip version 8.0.0 or greater.
* Require pip version 8.0.3.
* Do not delete deps directory on home assistant upgrade.
* Fix local lib mount and check package exist.
* Update and add tests
* Fix upgrade from before version 0.46
* Extract function to get user site
* Add function(s) to package util to get user site.
* Use async subprocess for one of the functions to get user site.
* Add function to package util to check if virtual environment is
active.
* Add and update tests.
* Update version for last removal of deps dir
* Address comments
* Rewrite package util tests with pytest
* Rewrite all existing unittest class based tests for package util as
test functions, and capitalize pytest fixtures.
* Add test for installing with target inside venv.
2017-07-13 19:26:21 -07:00
Paulus Schoutsen
5779d64e98
Fix some issues for PyLint 1.7.2 ( #8356 )
...
* Fix some issues for PyLint 1.7.2
* More fixes
* Revert position change for cover
2017-07-05 20:02:16 -07:00
Paulus Schoutsen
9f5bfe28d1
Add initial benchmark framework ( #7827 )
...
* Add initial benchmark framework
* Use timer from timeit
2017-05-30 21:34:40 -07:00
Fabian Affolter
a4f1f6e724
Update docstrings ( #7374 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstring
* Update docstrings
* Update docstrings
* Fix lint issues
* Update docstrings
* Revert changes in dict
2017-05-02 09:18:47 -07:00
Jan Losinski
215987d5a7
Add script to import state events to InfluxDB ( #7254 )
...
* Add script to import state events to InfluxDB
This adds a script to import recorded events from a recorder database
to a InfluxDB instance. This can be useful for initial importing after
setup of a InfluxDB.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Fix step argument handling in Influx import
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Correct typo in InfluxDB Importer
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
* Update influxdb_import.py
2017-04-24 23:01:09 +02:00
Fabian Affolter
cfc023e128
Don't use len(SEQUENCE) as condition value ( #7249 )
...
* Don't use len(SEQUENCE) as condition value
* Update volvooncall.py
2017-04-23 20:41:09 -07:00
Paulus Schoutsen
2650c73a89
Split bootstrap into bs + setup ( #6416 )
...
* Split bootstrap into bs + setup
* Lint
2017-03-05 10:41:54 +01:00
Johann Kellerman
ac49298c8d
Log errors when loading yaml ( #6257 )
2017-03-01 06:56:23 +02:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Pascal Vizeli
4e8d20328a
Fix check_config script. ( #5853 )
2017-02-10 08:51:08 -08:00
andrey-git
f774538e66
Check config before restarting ( #5609 )
...
* Check config before restarting.
* Make check_config on restart async
* don't check if notification service exists
* Use .communicate()
* Reduce the number of notifications. Add tests.
2017-02-07 01:19:08 -08:00
Johann Kellerman
3f2fdb97a0
check_config: Add support for packages ( #5574 )
2017-01-26 21:42:14 -08:00
Dale Higgs
a6f341f06a
Add exit code to check_config script ( #5471 )
2017-01-21 10:39:50 +03:00
Thibault Cohen
3b9fb6ccf5
Improve InfluxDB ( #5238 )
...
* Revert #4791 and fixes #4696
* Update influxDB based on PR comments
* Add migration script
* Update influxdb_migrator based on PR comments
* Add override_measurement option to influxdb_migrator
* Rename value field to state when data is string type
* Fix influxdb cloning query
2017-01-14 09:52:47 -08:00
Pascal Vizeli
50c8224365
Bugfix async log handler ( #4954 )
...
* Bugfix async log handler
* fix boostrap test
* Use hass.data for store handler and cleanup on async_stop
* Update bootstrap.py
2016-12-17 12:21:52 -08:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Pascal Vizeli
d5368f6f78
Async bootstrap / component init ( #3991 )
...
* Async bootstrap
* Adress comments
* Fix tests
* More fixes
* Tests fixes
2016-10-27 00:16:23 -07:00
Johann Kellerman
cb322f72db
Add persistent notifications to bootstrap ( #3738 )
...
* Add persistent notifications to bootstrap
* Rebase, Fix test
2016-10-13 09:09:07 -07:00
Martin Hjelmare
986873834a
Fix mysensors white value ( #3508 )
...
* Fix turning on mysensors light with white value attribute in kwargs.
* Fix import order in check_config.py.
2016-09-24 23:45:01 +02:00
Johann Kellerman
de51cfbc07
Sorted yaml output for check_config ( #3354 )
...
* Consistent display of check_config dicts
* OrderedDict
* remove sorted
2016-09-23 00:10:19 -07:00
Marc Pabst
138205a019
Adding support for a white value ( #3338 )
...
* Update __init__.py
addedattribute "WHITE_VALUE" to improve support for RGBW devices
* Update services.yaml
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
shortened line
* Update __init__.py
* Update __init__.py
* Add mysensors RGBW and light tests
* Activate support for mysensors RGBW devices with support for
white_value attribute.
* Add white_value support in light demo platform.
* Add tests for white_value and more for light component.
* Add tests for light demo platform.
* Fix import order in check_config.
2016-09-20 21:26:40 -07:00
Johann Kellerman
e8ad76c816
Improve yaml fault tolerance and handle check_config border cases ( #3159 )
2016-09-08 22:20:38 +02:00
Johann Kellerman
37048919bf
Check config requirement fix ( #2999 )
...
* Check config requirement fix
2016-08-27 01:33:57 +02:00
Johann Kellerman
17631cd728
Check config script: various fixes ( #2967 )
...
🐬
2016-08-24 23:18:32 -06:00
Paulus Schoutsen
c9d5d1a417
Remove debug print
2016-08-22 21:44:58 -07:00
Johann Kellerman
14b034f452
Check config script ( #2657 )
...
* Add check_config, yaml linting script
* WIP: Start reusing some bootstrap methods for validation
* Start outputs
* Secrets, files and failed config
* requirements_all
* Fixes
* formatting
* Fix unit test after formatting
2016-08-22 21:42:05 -07:00
Johann Kellerman
244f60d6cd
Fix script help ( #2860 )
...
Allow `--help` to filter down to the script
2016-08-17 18:57:52 -07:00
Maggi Trymbill
f668a88485
Fixed typo ( #2856 )
...
Pretty sure this is a typo ... it made finding the plist and logs a bit of a headache for me at least :)
2016-08-16 18:24:37 -07:00