Fabian Affolter
67b6657bcd
Upgrade sqlalchemy to 1.3.5 ( #24844 )
2019-06-29 07:14:47 -04:00
Paulus Schoutsen
848a2a95a8
Fix recorder defaults ( #24399 )
...
* Fix recorder defaults
* Address comment
2019-06-08 18:18:28 -05:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Fabian Affolter
c309bd9ff0
Upgrade sqlalchemy to 1.3.3 ( #23674 )
2019-05-05 01:06:47 +02:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Anders Melchiorsen
eabb68ad7d
Do not warn when creating an empty database ( #22343 )
2019-03-24 12:00:29 -07:00
Fabian Affolter
3432c5da9e
Upgrade sqlalchemy to 1.3.0 ( #22269 )
2019-03-21 19:40:11 -07:00
Jason Hu
226be65910
Only commit if need. ( #21848 )
2019-03-09 12:04:13 -08:00
Paulus Schoutsen
df25128923
Avoid recorder thread crashing ( #21668 )
2019-03-04 16:01:31 -08:00
Paulus Schoutsen
52f337ef00
Allow chaining contexts ( #21028 )
...
* Allow chaining contexts
* Add stubbed out migration
2019-03-01 10:08:38 -08:00
Daniel Høyer Iversen
519315f9c8
pylint 2.3.0 ( #21485 )
...
* pylint 2.3.0
* remove const
* disable=syntax-error
2019-02-27 16:10:40 -05:00
Fabian Affolter
6cdc5a5c2d
Upgrade sqlalchemy to 1.2.18 ( #21162 )
2019-02-18 11:19:40 +01:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Fabian Affolter
8db8a58763
Upgrade sqlalchemy to 1.2.17 ( #21020 )
...
* Upgrade sqlalchemy to 1.2.17
* Update requirements_all.txt
* Update requirements_test_all.txt
* Run script again
2019-02-13 12:30:37 +01:00
Fabian Affolter
9920699bb8
Upgrade sqlalchemy to 1.2.16 ( #20474 )
2019-01-26 22:11:00 +01:00
Anders Melchiorsen
e593383b4d
Error handling for recorder purge ( #20424 )
2019-01-26 11:02:16 +01:00
Paulus Schoutsen
c7f5beb794
history allowed to load states with invalid entity IDs ( #20399 )
2019-01-24 17:53:01 -08:00
Fabian Affolter
686a856a17
Upgrade sqlalchemy to 1.2.15 ( #19383 )
2018-12-18 15:48:06 +01:00
Anders Melchiorsen
f9c02889b2
Remove recorder purge protection ( #19358 )
2018-12-16 23:31:50 +01:00
Paulus Schoutsen
df21dd21f2
RFC: Call services directly ( #18720 )
...
* Call services directly
* Simplify
* Type
* Lint
* Update name
* Fix tests
* Catch exceptions in HTTP view
* Lint
* Handle ServiceNotFound in API endpoints that call services
* Type
* Don't crash recorder on non-JSON serializable objects
2018-11-30 21:28:35 +01:00
Adam Mills
5c3a4e3d10
Restore states through a JSON store instead of recorder ( #17270 )
...
* Restore states through a JSON store
* Accept entity_id directly in restore state helper
* Keep states stored between runs for a limited time
* Remove warning
2018-11-28 13:16:43 +01:00
Eliseo Martelli
bb37151987
fixed wording that may confuse user ( #18628 )
2018-11-23 01:46:22 +01:00
Aleksandr Smirnov
089a2f4e71
Logbook speedup ( #18376 )
...
* filter logbook results by entity_id prior to instantiating them
* include by default, pass pep8
* pass pylint
* use entityfilter, update tests
2018-11-19 10:36:00 +01:00
Fabian Affolter
320efdb744
Upgrade sqlalchemy to 1.2.14 ( #18504 )
2018-11-16 14:15:53 +01:00
Fabian Affolter
a3e77bc5f3
Upgrade sqlalchemy to 1.2.13 ( #18084 )
2018-11-01 13:25:45 +01:00
Phil Frost
af5eacf303
Fix spelling error in log output ( #17963 )
2018-10-29 19:40:32 +01:00
Ville Skyttä
ee696643cd
Isort preparations ( #16555 )
...
* Don't treat typing as an "in-between" module for import order
That was a < 3.5 era thing.
* Tighten scope of some pylint unused-import disables
To avoid isort moving a top level one around, undesirably broadening its
scope.
2018-09-11 11:21:48 +02:00
Robbie Trencheny
54c3f4f001
Fix spelling mistake in recorder migration [ci skip]
2018-08-29 14:59:48 -07:00
Fabian Affolter
0da3e73765
Upgrade sqlalchemy to 1.2.11 ( #16192 )
2018-08-26 12:28:44 +02:00
Paulus Schoutsen
7bb5344942
Remove homeassistant.remote ( #16099 )
...
* Remove homeassistant.remote
* Use direct import for API
* Fix docstring
2018-08-21 15:49:58 +02:00
Paulus Schoutsen
68cd65567d
Forgiving add index in migration ( #16092 )
2018-08-21 11:41:52 +02:00
Paulus Schoutsen
9e1fa7ef42
Column syntax fix + Add a file if migration in progress ( #16061 )
...
* Add a file if migration in progress
* Warning
* Convert message for migration to warning
2018-08-19 18:57:06 +02:00
Paulus Schoutsen
81d3161a5e
Add forgiving add column ( #16057 )
...
* Add forgiving add column
* Lint
2018-08-19 17:22:09 +02:00
Paulus Schoutsen
9512bb9587
Add and restore context in recorder ( #15859 )
2018-08-10 18:09:01 +02:00
Fabian Affolter
4b257c3d01
Upgrade sqlalchemy to 1.2.10 ( #15737 )
2018-07-29 23:35:47 +02:00
Ville Skyttä
b7c336a687
Pylint cleanups ( #15626 )
...
* Pylint 2 no-else-return fixes
* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00
Fabian Affolter
4a4b9180d8
Upgrade sqlalchemy to 1.2.9 ( #15250 )
2018-07-01 13:01:48 -04:00
Fabian Affolter
a8413249c2
Upgrade sqlalchemy to 1.2.8 ( #14765 )
2018-06-02 08:34:30 -04:00
Otto Winter
a4bf421044
Convert more files to async/await syntax ( #14142 )
...
* Move more files to async/await syntax
* Attempt Work around pylint bug
Using lazytox :P
2018-04-28 19:26:20 -04:00
Fabian Affolter
95f2ad2299
Upgrade sqlalchemy to 1.2.7 ( #14138 )
2018-04-28 23:16:01 +02:00
Fabian Affolter
ca3cc27e40
Upgrade sqlalchemy to 1.2.6 ( #13733 )
2018-04-07 10:41:35 +02:00
Fabian Affolter
aec61b7c86
Upgrade sqlalchemy to 1.2.5 ( #13292 )
2018-03-17 17:39:24 +01:00
Paulus Schoutsen
170b8671b9
Fix logbook JSON serialize issue ( #13229 )
...
* Fix logbook JSON serialize issue
* Address flakiness
* Lint
* deflake ?
* Deflake 2
2018-03-15 10:54:22 -07:00
Anders Melchiorsen
339a839dbe
Add SQL index to states.event_id ( #12825 )
2018-03-03 22:54:38 +01:00
Anders Melchiorsen
c1c23bb4b6
Remove automatic sqlite vacuum ( #12728 )
2018-02-26 22:41:37 -08:00
Anders Melchiorsen
1b22f2d8b8
Move recorder query out of event loop ( #12615 )
2018-02-23 10:12:40 +01:00
Anders Melchiorsen
2d36d4d9f3
Set event_id foreign key in recorded states ( #12580 )
2018-02-21 12:51:20 -08:00
Anders Melchiorsen
0d0e0b8ba3
Avoid warnings when purging an empty database ( #12494 )
2018-02-18 08:06:33 -08:00
Paulus Schoutsen
e8d8b75c07
Try deflaking recorder tests ( #12492 )
...
* Try deflaking recorder tests
* Remove run_coroutine_threadsafe
* Lint
2018-02-17 23:20:28 -08:00