Johann Kellerman
2fd3c186e2
Update SMA solar sensor to work with the new add_devices callback ( #6602 )
2017-03-15 23:18:11 -07:00
Johann Kellerman
134b3d2f3b
Update SMA solar sensor to work with the new add_devices callback ( #6602 )
2017-03-14 06:39:30 +02:00
Johann Kellerman
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 Kellerman
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 Kellerman
ac49298c8d
Log errors when loading yaml ( #6257 )
2017-03-01 06:56:23 +02:00
Johann Kellerman
94183e1992
No wait for start and more async
2017-02-25 15:03:54 -08:00
Johann Kellerman
0e5df9b641
Allow 4.5min startup time for recorder
2017-02-25 15:03:54 -08:00
Johann Kellerman
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 Kellerman
c940d26f07
Bugfix restore startup state ( #6189 )
2017-02-23 20:06:21 -08:00
Johann Kellerman
74837dbf45
Restore for device_tracker ( #6150 )
2017-02-22 22:55:11 +02:00
Johann Kellerman
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 Kellerman
11d3093a30
Restore: migrate fastdotcom and speedtest to restore ( #6149 )
2017-02-21 18:10:09 -08:00
Johann Kellerman
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 Kellerman
abaf9e53c2
Component set add unsing OR ( #5880 )
2017-02-11 23:27:06 +02:00
Johann Kellerman
66088377e1
[recorder] Run end model changed in session scope ( #5858 )
2017-02-10 20:55:34 -08:00
Johann Kellerman
cbf3a2ecae
[recorder] Run end model changed in session scope ( #5858 )
2017-02-10 22:22:15 +02:00
Johann Kellerman
415500de23
[recorder] Protect against running in the event loop ( #5812 )
2017-02-08 19:58:43 -08:00
Johann Kellerman
612aa1cf21
Initial ( #5811 )
2017-02-08 13:16:39 -08:00
Johann Kellerman
db6c166abe
Update sma.py ( #5807 )
2017-02-08 09:07:03 -08:00
Johann Kellerman
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 Kellerman
2fcaf8bda6
[sensor/sma] handle units correctly ( #5657 )
2017-02-01 21:01:06 -08:00
Johann Kellerman
b48a7e4007
Bugfix customize ( #5613 )
2017-01-28 23:52:30 +01:00
Johann Kellerman
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 Kellerman
3f2fdb97a0
check_config: Add support for packages ( #5574 )
2017-01-26 21:42:14 -08:00
Johann Kellerman
d500ddac9a
[script] Fix dodgy bash syntax for bootstrap ( #5552 )
2017-01-25 09:21:09 -08:00
Johann Kellerman
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 Kellerman
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 Kellerman
b67cce7215
Add correct line numbers for yaml include directives ( #5303 )
2017-01-13 21:13:17 -08:00
Johann Kellerman
1f31dfe5d3
[recorder] Include & Exclude domain fix & unit tests ( #5213 )
...
* Tests & domain fix
* incl/excl combined
2017-01-09 21:53:30 +01:00
Johann Kellerman
e6a9b6404f
[sensor/sma] SMA Solar Inverter sensor ( #5118 )
...
* Initial
* Rebase ensure_list
* timedelta & remove prints
2017-01-09 21:35:47 +01:00
Johann Kellerman
cbda516af9
ensure_list validator - Allow None to return an empty list ( #5133 )
2017-01-05 21:33:22 +02:00
Johann Kellerman
4692ea85b7
[mqtt] Embedded MQTT server fix ( #5132 )
...
* Embedded MQTT server fix and schema
* feedback
2017-01-03 23:17:56 +01:00
Johann Kellerman
aaff8d8602
Qwikswitch library PyPi update ( #5099 )
2016-12-29 11:08:11 +02:00
Johann Kellerman
f0b1874d2d
Fix up docstring for tests ( #5090 )
2016-12-28 20:04:59 +02:00
Johann Kellerman
b170f4c399
Spread seconds ( #5025 )
2016-12-21 08:42:23 +01:00
Johann Kellerman
a8b3900913
device_tracker ( #5023 )
...
2
2016-12-21 08:40:44 +01:00
Johann Kellerman
46cad514d4
Revert "[device_tracker] Don't clear GPS coordinates when using two device trackers." ( #4851 )
2016-12-11 19:18:11 +02:00
Johann Kellerman
c6c8cd4f51
Yr.no: New aiohttp client needs params to form websession URL ( #4634 )
...
* Yr.no: New aiohttp client needs params to form websession URL
* Support params in aiohttp mocking
2016-12-01 08:20:21 +02:00
Johann Kellerman
8f35212dd6
Yr.no update entities every hour ( #4521 )
2016-11-22 19:35:49 -08:00
Johann Kellerman
0827a26642
Yr.no update entities every hour ( #4521 )
2016-11-22 19:28:31 -08:00
Johann Kellerman
2c39c39d52
Improve async generic camera's error handling ( #4316 )
...
* Handle errors
* Feedback
* DisconnectedError
2016-11-10 21:43:48 -08:00
Johann Kellerman
9bb94a4512
Improve async generic camera's error handling ( #4316 )
...
* Handle errors
* Feedback
* DisconnectedError
2016-11-10 21:28:22 -08:00
Johann Kellerman
231ef40f53
iOS links ( #4295 )
2016-11-08 00:07:24 +01:00
Johann Kellerman
f3595f790a
Async version of Yr.no ( #4158 )
...
* initial
* feedback
* More feedback. Still need to fix match_url
* url_match
* split_lines
2016-11-02 19:34:12 -07:00
Johann Kellerman
0d14920758
Component setup error messages with markdown ( #3919 )
...
* Remove_dev_link_async
* callback
2016-11-02 19:31:09 -07:00
Johann Kellerman
e487a09190
Remove None value before writing known_devices ( #4098 )
...
* Remove None
* Replace null
2016-11-01 21:51:31 -07:00
Johann Kellerman
f0a38dded6
Catch UnicodeDecodeError Error ( #4007 )
...
* Catch UnicodeDecodeError Error
Error for #3933
* Forgot (exc)
* catch...
* Tests by @lwis
* Docstring
* Create open
2016-10-23 19:20:13 -07:00
Johann Kellerman
5df8477536
Catch UnicodeDecodeError Error ( #4007 )
...
* Catch UnicodeDecodeError Error
Error for #3933
* Forgot (exc)
* catch...
* Tests by @lwis
* Docstring
* Create open
2016-10-23 18:55:06 -07:00
Johann Kellerman
8d375e2d47
Improve known_device.yaml writing ( #3955 )
...
* Better known_device.yaml writing
* yaml dump
2016-10-21 21:41:27 -07:00
Johann Kellerman
6e903fd429
Updater component - rename opt_out to reporting ( #3979 )
...
* Updater component - rename opt_out to reporting
* Fix tests
2016-10-21 20:40:23 -07:00
Johann Kellerman
c70722dbae
Updater component with basic system reporting ( #3781 )
2016-10-20 21:30:44 +02:00
Johann Kellerman
57f32fa629
Fixup device_tracekt.mqtt voluptuous & unit tests ( #3904 )
2016-10-18 18:10:28 -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
Johann Kellerman
a94a5ac9b5
Coerce device IDs from known_devices to be slugs ( #3764 )
...
* Slugify & consider_home test fix [due to load valid PR]
* undo schema change
* Fix slugify error
2016-10-08 14:42:24 -07:00
Johann Kellerman
4d9bac6f9c
Coerce device IDs from known_devices to be slugs ( #3764 )
...
* Slugify & consider_home test fix [due to load valid PR]
* undo schema change
* Fix slugify error
2016-10-08 14:40:50 -07:00
Johann Kellerman
7b40a641ec
Continue on invalid platforms and new setup_component unit tests ( #3736 )
2016-10-08 11:27:35 -07:00
Johann Kellerman
fb94aaa5a1
Load yaml using validator and include consider_home ( #3743 )
...
* Load yaml using validator, consider_home
* timedelta, track_if_away
* improve voluptuous
* Add default back
* Change time_period validation order
2016-10-07 18:08:33 -07:00
Johann Kellerman
1b9d867d60
Add domain to boolean ( #3500 )
2016-09-23 14:10:12 -07:00
Johann Kellerman
9631179126
Use voluptuous for input_slider, input_boolean, input_select ( #3256 )
...
* Use voluptuous for input slider
* floats
* _setup_component
* Imperative mood
* CONFIG_SCHEMA
* None returns empty ensure_list
* allow_extra
* bool
* restore ensure_list behaviour
2016-09-23 00:12:11 -07: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
Johann Kellerman
169f054c6c
Use voluptuous for nmap, tplink, thomson device trackers ( #3124 )
...
* Use Voluptuous for nmap, tplink, thomson device_trackers
* Fix logic
2016-09-17 23:44:15 -07:00
Johann Kellerman
afc527ea55
Fix tests ( #3387 )
2016-09-13 18:17:51 -07:00
Johann Kellerman
dba78b02da
Add voluptuous to locative ( #3254 )
2016-09-12 01:12:28 +02: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
47864fc7d7
Owntracks voluptuous fix ( #3191 )
2016-09-06 18:35:10 -07:00
Johann Kellerman
17a2cac7e1
Use Voluptuous for Luci and Netgear device trackers ( #3123 )
...
* Use Voluptuous for Luci and NEtgear device trackers
* str_schema shortcut
* Undo str_schema
2016-09-05 11:37:36 -06:00
Johann Kellerman
ad52816595
Use voluptuous for BT and Owntracks device trackers ( #3187 )
...
🐬
2016-09-04 11:10:20 -06:00
Johann Kellerman
22362727e4
Use voluptuous for Unifi, Ubus ( #3125 )
2016-09-04 10:06:16 +02:00
Johann Kellerman
91a3522100
Improve voluptuous and login errors for Asus device tracker ( #3170 )
2016-09-03 17:32:43 -06:00
Johann Kellerman
fe7f797ad9
Add voluptuous for tomato and SNMP ( #3172 )
2016-09-03 17:30:48 -06:00
Johann Kellerman
a571271c39
Use voluptuous for Aruba ( #3119 )
2016-09-01 22:28:46 -06:00
Johann Kellerman
586e47d08d
Use Voluptuous for BT Home Hub ( #3121 )
2016-09-01 22:28:28 -06:00
Johann Kellerman
78f0e681ed
Use voluptuous for Fritzbox and DDWRT ( #3122 )
2016-09-01 22:28:03 -06:00
Johann Kellerman
dadcf92290
Allow 'None' MAC to be loaded from known_devices ( #3102 )
2016-09-02 00:02:35 +02:00
Johann Kellerman
55d305359e
Device tracker component & platform validation. No more home_range. ( #2908 )
...
* Device tracker component & platform validation. No more home_range.
* Mock, bluetooth
* Renamed _CONFIG_SCHEMA. Raise warning for #1606
* test duplicates
* Fix assert
* Coverage
* Typing
* T fixes
2016-08-30 10:22:52 -06:00
Johann Kellerman
6f1c97b9d3
Voluptuous for AsusWRT ( #2998 )
...
* Voluptuous for AsusWRT
2016-08-27 22:30:06 +02:00
Johann Kellerman
4aad83d60b
Voluptuous for pushover ( #3000 )
2016-08-26 17:43:59 -07: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
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
0def842231
Quick lint script for changed files ( #2941 )
2016-08-22 20:52:31 -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
Johann Kellerman
bf21d6b4e1
Update unit tests for remote.py ( #2782 )
...
* Update remote unit tests
* Sleep again
2016-08-10 17:40:35 -07:00
Johann Kellerman
f3376ba276
Script requirement logging, db_migrator REQUIREMENTS ( #2781 )
2016-08-10 13:32:07 -07:00
Johann Kellerman
aadf6a7750
Handle requirements for scripts ( #2765 )
2016-08-09 23:54:34 -07:00
Johann Kellerman
efe754636a
Script to manage secrets stored in the keyring ( #2743 )
...
* Keyring script to get, set and delete secrets
* Add info & keyring version
2016-08-08 17:36:11 -07:00
Johann Kellerman
09262a36c4
Hide NewType ImportErrors ( #2717 )
...
* Hide NewType ImportErrors
* No more NewType
2016-08-03 08:21:30 -07:00
Johann Kellerman
74f284d2d7
Close session after execute. ( #2677 )
2016-07-31 17:21:02 -07:00
Johann Kellerman
e9bd5d54ad
Recorder typing & ensure DB ready on query ( #2680 )
...
* Recorder typing & wait on DB ready
2016-07-31 22:56:57 +02:00
Johann Kellerman
de7e27c92c
Close session after execute. ( #2677 )
2016-07-31 10:10:30 -07:00
Johann Kellerman
4f89230251
Update icloud to respect track=false. ( #2640 )
2016-07-27 20:38:55 -07:00
Johann Kellerman
8c728d1b4e
Update icloud device_tracker ( #2614 )
...
* slugify() for dev_id (fixes #2162 ) [Keep space replacement to not impact known_devices.yaml]
* pyicloud upgrade 0.9.1
* config validation
* Only poll icloud every 4 minutes...
* Immediately pull device state on HASS start
* Added new test with icloud char e' acute [chr(233)]
* Suppress pyicloud logging
2016-07-26 23:53:31 +02:00
Johann Kellerman
4195254280
Update Qwikswitch: fix typing, add validation, shutdown ( #2603 )
...
* Update Qwikswitch: fix typing, add validation, shutdown
* Delay startup listener, fix validation
* Fix workerpool errors
2016-07-23 17:03:29 -07:00
Johann Kellerman
4cf618334c
Update recorder. ( #2549 )
...
* Update recorder.
models.py:
- Use scoped_session in models.py to fix shutdown error
__init__.py:
- Session _commit & retry method
- Single session var for purge_data
- Ensure single _INSTANCE
- repeat purge every 2 days
- show correct time in log_error
* _commit
* Restore models to old functionality, swap purge, remove _INSTANCE cleanup from tests, typing ignore Base class
* pylint
* Remove recorder from model unit test
2016-07-23 11:25:17 -07:00
Johann Kellerman
06d70544bc
Update rpi_gpio.py ( #2530 )
...
Should be pullup, since the sensor pulls to ground (at least the one on AndrewHilliday's site)
Or do we want this configurable?
2016-07-16 11:10:41 -07:00
Johann Kellerman
a60a342864
Logbook: Query databse as_utc(). dt: Use pytz's localize ( #2521 )
2016-07-13 18:45:55 -07:00