J. Nick Koston
751e2f4125
Extend logbook api to be able to fetch a slice of data between two time boundaries. ( #35847 )
...
* Create logbook_timeslice api
* add end_datetime
* Add tests
* switch to end_time to match history api
2020-06-03 14:07:56 -05:00
Franck Nijhof
e6fe34e64d
Migrate automation to use describe_event for logbook ( #36356 )
2020-06-01 17:18:40 -07:00
Paulus Schoutsen
19be31d13a
Migrate HomeKit to use describe_event for logbook support ( #34485 )
2020-04-20 17:48:09 -07:00
Anders Melchiorsen
17215709e1
Simplify logbook duplicate handling ( #32572 )
2020-03-07 20:27:51 -08:00
Paulus Schoutsen
8aea538662
Allow teaching logbook about events ( #32444 )
...
* Allow teaching logbook about events
* Use async_add_executor_job
* Fix tests
2020-03-05 11:55:50 -08:00
Paulus Schoutsen
fed23030d6
Filter out duplicate logbook states ( #32427 )
2020-03-03 13:56:32 -08:00
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Diefferson Koderer Môro
6de95995aa
Move imports in logbook component ( #28016 )
2019-10-21 09:57:31 +02:00
Franck Nijhof
7203027cbf
Use literal string interpolation in integrations K-M (f-strings) ( #26389 )
2019-09-03 21:14:00 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Martijn van Zal
ca8118138c
Change phrases in the logbook component for persons and binary_sensors ( #25053 )
...
Persons are now threated the same as device trackers, so the logbook states
"<name> is at <location>" or "<name> is away" instead of "<name> changed to <location|not_home>"
Binary sensors now show phrases that relate to their device_class attribute.
So "Front door is closed" instead of "Front door turned off" or "Hallway PIR detected movement"
instead of "Hallway PIR turned on"
2019-07-10 15:56:41 -07:00
Paulus Schoutsen
1a3a38d370
Dynamic panels ( #24184 )
...
* Don't require all panel urls to be registered
* Allow removing panels, fire event when panels updated
2019-05-30 13:37:01 +02:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Anders Melchiorsen
0c8a31b8ec
Memory optimization for logbook ( #21549 )
2019-03-01 23:23:45 -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
161c368c9d
Update file header ( #21054 )
...
* Update file header
* Update __init__.py
2019-02-13 20:35:12 -08:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00