Commit Graph
100 Commits
Author SHA1 Message Date
Johann KellermanandPaulus Schoutsen ec3dc3dd16 Upgrade pysma, fix #27154 (#31346) 2020-01-31 14:48:16 -08:00
Johann KellermanandGitHub ab3157e661 Upgrade pysma, fix #27154 (#31346) 2020-01-31 08:25:54 -08:00
Johann KellermanandPaulus Schoutsen 5994f82fc5 Add person to device_sun_light_trigger (#25877)
* Add person to device_sun_light_trigger

* tests

* fix test
2019-09-05 20:41:57 -07:00
Johann KellermanandPaulus Schoutsen bbc5049816 SMA beta fix #26225 (#26244) 2019-08-28 13:38:51 -07:00
Johann KellermanandGitHub a28e644def SMA beta fix #26225 (#26244) 2019-08-28 09:21:21 +02:00
Johann KellermanandGitHub 2d432da14c DuckDNS setup backoff (#25899) 2019-08-22 18:19:27 +02:00
Johann KellermanandAndrew Sayre d1483b6f29 pysma library update 0.3.4 (#26075) 2019-08-19 18:44:19 -05:00
Johann KellermanandGitHub b867e3314b SMA simplify config (#25880) 2019-08-19 22:10:35 +02:00
Johann KellermanandPaulus Schoutsen 8b9d0593b1 Allow components with empty list config (i.e. person) in packages (#25827)
* Fix #23424

* mypy Lists
2019-08-10 16:30:33 -07:00
Johann KellermanandPaulus Schoutsen e51b5e801e SMA catch error (#25045)
* SMA small fix

* lib update

* req
2019-07-10 15:55:40 -07:00
Johann KellermanandPaulus Schoutsen 2e26f0bd2b Add check_config helper (#24557)
* check_config

* no ignore

* tests

* try tests again
2019-07-10 11:56:50 -07:00
Johann KellermanandPaulus Schoutsen 56155740fe SMA sensor: Add optional path (#24558) 2019-06-17 09:26:35 -07:00
Johann KellermanandGitHub f2941522ca Person tests - split from #21703 (#22663) 2019-04-03 05:35:33 +02:00
Johann KellermanandPaulus Schoutsen 3453d67cfe Person schema for merge_packages #21307 (#21703)
* Person schema for merge_packages #21307

* empty list

* skip empty persons

* hound

* test schema

* ensure_none

* remove any test changes

* remove_falsy validator

* nice!

* coretests
2019-04-02 19:43:06 -07:00
Johann KellermanandGitHub 2578c8525b Qwikswitch fix listen loop (#22600)
* Qwikswitch fix listen loop
* 0.93 fix qwikcord upstream
2019-04-02 05:57:25 +02:00
Johann KellermanandPaulus Schoutsen 90d3f517d8 Check if a script requirement is available before install (#20517)
* Check if a script requirement is available before install

* PackageLoadable

* hound

* req
2019-02-26 10:20:54 -08:00
Johann KellermanandMichaël Arnauts 5a30b0507d Add git to the development Dockerfile (#20276)
* git_on_dev

* feedback
2019-01-22 08:21:43 +01:00
Johann KellermanandPaulus Schoutsen ec7f2657cd Config Validator: schema_with_slug_keys (#20298)
* schema_with_slug_keys

* Update config_validation.py

* Update config_validation.py
2019-01-21 21:21:00 -08:00
Johann KellermanandPaulus Schoutsen 6511e11ec9 Config Validator: schema_with_slug_keys (#20298)
* schema_with_slug_keys

* Update config_validation.py

* Update config_validation.py
2019-01-21 16:36:04 -08:00
Johann KellermanandPaulus Schoutsen 028cc8d24f Align valid_entity_id with new slugify (#20231)
* slug

* ensure a dot

* fix

* schema_with_slug_keys

* lint

* test
2019-01-21 09:45:37 -08:00
Johann KellermanandPaulus Schoutsen c36c708068 Align valid_entity_id with new slugify (#20231)
* slug

* ensure a dot

* fix

* schema_with_slug_keys

* lint

* test
2019-01-21 09:45:11 -08:00
Johann KellermanandGitHub 3ffa0176cc SMA sensor - updated library (#19753) 2019-01-06 19:20:19 +02:00
Johann KellermanandPaulus Schoutsen cff4755708 SMA Guard against older pysma (#18278) 2018-11-07 10:37:40 +01:00
Johann KellermanandGitHub 35ae85e14e SMA Guard against older pysma (#18278) 2018-11-07 08:52:51 +02:00
Johann KellermanandPaulus Schoutsen dbf6b01a60 SMA: Optional import in schema & backoff fix (#18099) 2018-11-05 21:41:40 +01:00
Johann KellermanandGitHub 44556a86e3 SMA: Optional import in schema & backoff fix (#18099) 2018-11-04 19:09:14 +02:00
Johann KellermanandGitHub 7363378ac4 Update SMA sensor to pysma 0.2.2 (#17988) 2018-10-31 21:09:00 +02:00
Johann KellermanandSebastian Muszynski 6b9c65c9ce Allow qwikswitch sensors as part of devices (#14454) 2018-05-14 08:40:25 +02:00
Johann KellermanandPaulus Schoutsen 44be80145b Qwikswitch binary sensors (#14008) 2018-04-24 23:19:15 -04:00
Johann KellermanandGitHub 6ccb83584e Qwikswitch binary sensors (#14008) 2018-04-21 08:34:42 +02:00
Johann KellermanandPaulus Schoutsen 6fa60c464b Upgrade pyqwikswitch to 0.71 (#13920) 2018-04-17 22:36:07 -04:00
Johann KellermanandMartin Hjelmare 517fb2e983 Upgrade pyqwikswitch to 0.71 (#13920) 2018-04-15 22:19:15 +02:00
Johann KellermanandPaulus Schoutsen bd93f10d3c script/lazytox: Ensure Flake8 passes for tests/ (#13794) 2018-04-09 21:24:50 -04:00
Johann KellermanandMartin Hjelmare 7595401dcb Qwikswitch Entity Register (#13791)
* Entity Register

* feedback
2018-04-10 01:24:06 +02:00
Johann KellermanandGitHub b01dceaff2 Qwikswitch sensors (#13622) 2018-04-08 21:59:19 +02:00
Johann KellermanandFabian Affolter 1b3c3494e8 Coverage & Codeowners (#13700) 2018-04-05 17:58:55 +02:00
Johann KellermanandPaulus Schoutsen 9fc8a8f679 Check whitelisted paths #13107 (#13154) 2018-03-30 14:10:55 -07:00
Johann KellermanandPaulus Schoutsen 507c658fe9 Check whitelisted paths #13107 (#13154) 2018-03-29 19:57:19 -07:00
Johann KellermanandPaulus Schoutsen 32b0712089 Don't add Falsy items to list #13412 (#13536) 2018-03-29 17:21:28 -07:00
Johann KellermanandPaulus Schoutsen a6b63b669e Don't add Falsy items to list #13412 (#13536) 2018-03-29 17:13:08 -07:00
Johann KellermanandGitHub 3fdb0002a7 Qwikswitch async refactor & sensor (#13509) 2018-03-29 23:29:46 +02:00
Johann KellermanandGitHub 3e3f710b12 Qwikswitch async & updates (#12641) 2018-03-25 23:32:13 +02:00
Johann KellermanandPaulus Schoutsen 4270bc7abb Perform check_config service in current process (#13017)
* Perform check_config service in current process

* feedback
2018-03-19 14:20:04 -07:00
Johann KellermanandGitHub f164a5a65f Better errors for unknown secrets (#13072) 2018-03-11 12:51:03 +02:00
Johann KellermanandPaulus Schoutsen 9a7a0f28b1 Ensure we have valid config AFTER merging packages #13015 (#13038)
* Ensure we have valid config AFTER merging packages #13015

* also fix packages
2018-03-10 10:41:39 -08:00
Johann KellermanandPaulus Schoutsen 40485a6e89 Ensure we have valid config AFTER merging packages #13015 (#13038)
* Ensure we have valid config AFTER merging packages #13015

* also fix packages
2018-03-10 10:02:04 -08:00
Johann KellermanandPaulus Schoutsen 8f807a3006 Safe fix for #13015 (#13024) 2018-03-09 19:42:35 -08:00
Johann KellermanandPaulus Schoutsen 05255b9c3f Safe fix for #13015 (#13024) 2018-03-09 15:52:21 -08:00
Johann KellermanandGitHub 37d8cd7b75 New lazytox.py script (#12862) 2018-03-09 22:27:39 +02:00
Johann KellermanandPaulus Schoutsen 16d72d2351 check_config script evolution (#12792)
* Initial async_check_ha_config_file

* check_ha_config_file

* Various fixes

* feedback - return the config

* move_to_check_config
2018-03-09 09:31:13 -08:00
Johann KellermanandPaulus Schoutsen 6734c966b3 check_config script evolution (#12792)
* Initial async_check_ha_config_file

* check_ha_config_file

* Various fixes

* feedback - return the config

* move_to_check_config
2018-03-08 19:34:24 -08:00
Johann KellermanandPaulus Schoutsen 125088449a is_allowed_path: Also unit test folder #12788 #12807 (#12810) 2018-03-02 11:22:25 -08:00
Johann KellermanandPascal Vizeli ff83efe376 is_allowed_path: Also unit test folder #12788 #12807 (#12810) 2018-03-01 18:55:58 +01:00
Johann KellermanandPaulus Schoutsen 6ed765698a Check_config await error (#12722)
* not awaited

* hounded
2018-02-27 12:29:17 -08:00
Johann KellermanandPaulus Schoutsen 68f92d2e7c Roomba timeout (#12645)
* Roomba timeout

* PlatformNotReady
2018-02-27 02:01:51 -08:00
Johann Kellermanandcdce8p 4821858afb Homekit schema gracefully fail with integer (#12725)
* Homekit schema gracefully fail with integer
* Fix return value
* Added test
* Fix 2
2018-02-27 01:09:49 +01:00
Johann KellermanandPaulus Schoutsen 446390a8d1 AsusWRT log exceptions (#12668)
* logexception

* Improve err message #2978

* not quiet

* tests
2018-02-26 16:08:37 -08:00
Johann KellermanandPaulus Schoutsen 6d5fb49687 Roomba timeout (#12645)
* Roomba timeout

* PlatformNotReady
2018-02-25 23:43:26 -08:00
Johann KellermanandGitHub 5995c2f313 SMA sensor add SSL and upgrade to pysma 0.2 (#12354) 2018-02-13 22:03:56 +02:00
Johann KellermanandPaulus Schoutsen f28fa7447e Force LF line endings for Windows (#12266)
* Force LF line endings for Windows

* include all
2018-02-11 19:23:16 -08:00
Johann KellermanandPaulus Schoutsen 65c6f72c9d check_config check bootstrap errors (#12291) 2018-02-10 23:40:48 -08:00
Johann KellermanandPaulus Schoutsen 2fd3c186e2 Update SMA solar sensor to work with the new add_devices callback (#6602) 2017-03-15 23:18:11 -07:00
Johann KellermanandGitHub 134b3d2f3b Update SMA solar sensor to work with the new add_devices callback (#6602) 2017-03-14 06:39:30 +02:00
Johann KellermanandPaulus Schoutsen 1522e67351 Restore for automation entities (#6254)
* Restore for automation entities

* coroutine

* no clue what i'm doing now

* Still passes nicely in py 3.4
2017-03-04 15:19:01 -08:00
Johann KellermanandPaulus Schoutsen fbd0bf77c7 [recorder] Catch more startup errors #6179 (#6192)
* [recorder] Catch more startup errors #6179

* Rebase on new recorder
2017-03-02 22:44:52 -08:00
Johann KellermanandGitHub ac49298c8d Log errors when loading yaml (#6257) 2017-03-01 06:56:23 +02:00
Johann KellermanandPaulus Schoutsen 94183e1992 No wait for start and more async 2017-02-25 15:03:54 -08:00
Johann KellermanandPaulus Schoutsen 0e5df9b641 Allow 4.5min startup time for recorder 2017-02-25 15:03:54 -08:00
Johann KellermanandPaulus Schoutsen 477f621705 Bugfix restore startup state (#6189) 2017-02-25 14:35:27 -08:00
Johann Kellerman 5d007e636b No wait for start and more async 2017-02-25 17:51:37 +02:00
Johann Kellerman 7cd6f9038c Allow 4.5min startup time for recorder 2017-02-25 17:28:53 +02:00
Johann KellermanandPaulus Schoutsen c940d26f07 Bugfix restore startup state (#6189) 2017-02-23 20:06:21 -08:00
Johann KellermanandGitHub 74837dbf45 Restore for device_tracker (#6150) 2017-02-22 22:55:11 +02:00
Johann KellermanandPaulus Schoutsen aee8758fc1 Restore input_select and test helper proposal (#6148)
* Restore input_select and test helper proposal

* DB still active
2017-02-22 00:15:48 -08:00
Johann KellermanandPaulus Schoutsen 11d3093a30 Restore: migrate fastdotcom and speedtest to restore (#6149) 2017-02-21 18:10:09 -08:00
Johann KellermanandPaulus Schoutsen fdc373f27e Restore_state helper to restore entity states from the DB on startup (#4614)
* Restore states

* feedback

* Remove component move into recorder

* space

* helper

* Address my own comments

* Improve test coverage

* Add test for light restore state
2017-02-20 23:40:27 -08:00
Johann KellermanandGitHub abaf9e53c2 Component set add unsing OR (#5880) 2017-02-11 23:27:06 +02:00
Johann KellermanandPaulus Schoutsen 66088377e1 [recorder] Run end model changed in session scope (#5858) 2017-02-10 20:55:34 -08:00
Johann KellermanandGitHub cbf3a2ecae [recorder] Run end model changed in session scope (#5858) 2017-02-10 22:22:15 +02:00
Johann KellermanandPaulus Schoutsen 415500de23 [recorder] Protect against running in the event loop (#5812) 2017-02-08 19:58:43 -08:00
Johann KellermanandPaulus Schoutsen 612aa1cf21 Initial (#5811) 2017-02-08 13:16:39 -08:00
Johann KellermanandPaulus Schoutsen db6c166abe Update sma.py (#5807) 2017-02-08 09:07:03 -08:00
Johann KellermanandPaulus Schoutsen 490ef6afad WIP: [component/recorder] Refactoring & better handling of SQLAlchemy Sessions (#5607)
* Refactor recorder and Sessions

* Cover #4352

* NO_reset_on_return

* contextmanager

* coverage
2017-02-07 21:47:41 -08:00
Johann KellermanandPaulus Schoutsen 2fcaf8bda6 [sensor/sma] handle units correctly (#5657) 2017-02-01 21:01:06 -08:00
Johann KellermanandPascal Vizeli b48a7e4007 Bugfix customize (#5613) 2017-01-28 23:52:30 +01:00
Johann KellermanandPaulus Schoutsen f2870c3103 [core.config] Support customize in packages (#5543)
* Support customize in packages

* GMT

* Update test_config.py
2017-01-26 22:26:49 -08:00
Johann KellermanandPaulus Schoutsen 3f2fdb97a0 check_config: Add support for packages (#5574) 2017-01-26 21:42:14 -08:00
Johann KellermanandPaulus Schoutsen d500ddac9a [script] Fix dodgy bash syntax for bootstrap (#5552) 2017-01-25 09:21:09 -08:00
Johann KellermanandPaulus Schoutsen e53b2fe121 [script] Only bootstrap frontend if npm installed (#5507)
* [scripts] Only bootstrap frontend if npm installed

* Message if not frontend dev possible

* yarn
2017-01-24 16:20:18 -08:00
Johann Kellerman 699c615d23 Add url 2017-01-22 18:34:00 +02:00
Johann Kellerman 7df51dc545 gen_requirement: Raise an error if REQUIREMENT not pinned 2017-01-22 01:37:08 +02:00
Johann KellermanandPaulus Schoutsen 9f765836f8 [core] Add 'packages' to the config (#5140)
* Initial

* Merge dicts and lists

* feedback

* Move to homeassistant

* feedback

* increase_coverage

* kick_the_hound
2017-01-13 22:01:47 -08:00
Johann KellermanandPaulus Schoutsen b67cce7215 Add correct line numbers for yaml include directives (#5303) 2017-01-13 21:13:17 -08:00
Johann KellermanandPascal Vizeli 1f31dfe5d3 [recorder] Include & Exclude domain fix & unit tests (#5213)
* Tests & domain fix

* incl/excl combined
2017-01-09 21:53:30 +01:00
Johann KellermanandPascal Vizeli e6a9b6404f [sensor/sma] SMA Solar Inverter sensor (#5118)
* Initial

* Rebase ensure_list

* timedelta & remove prints
2017-01-09 21:35:47 +01:00
Johann KellermanandGitHub cbda516af9 ensure_list validator - Allow None to return an empty list (#5133) 2017-01-05 21:33:22 +02:00
Johann KellermanandPaulus Schoutsen 4692ea85b7 [mqtt] Embedded MQTT server fix (#5132)
* Embedded MQTT server fix and schema

* feedback
2017-01-03 23:17:56 +01:00
Johann KellermanandGitHub aaff8d8602 Qwikswitch library PyPi update (#5099) 2016-12-29 11:08:11 +02:00
Johann KellermanandGitHub f0b1874d2d Fix up docstring for tests (#5090) 2016-12-28 20:04:59 +02:00
Johann KellermanandFabian Affolter b170f4c399 Spread seconds (#5025) 2016-12-21 08:42:23 +01:00