Commit Graph

64 Commits (dea80414614c2f201686e840b4d2c1a9411279d8)

Author SHA1 Message Date
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
Franck Nijhof 5d62f405f1
Add recorder platform to input_datetime () 2022-04-18 08:19:55 -07:00
Paulus Schoutsen 423ecfa69d
Mark all input integrations as helpers () 2022-03-30 22:50:13 +02:00
GitHub Action 203bda203d [ci skip] Translation update 2022-02-13 00:16:41 +00:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
Marc Mueller b1d49b3b66
Use assignment expressions 29 () 2021-10-30 16:31:43 +02:00
Marc Mueller 887d04be60
Use assignment expressions 32 () 2021-10-30 16:30:13 +02:00
Paulus Schoutsen 4eea618cc4
input_datetime: Move has_date, has_time to capability_attributes () 2021-10-21 08:22:34 +02:00
Marc Mueller aa7dc78a1e
Use assignment expressions 11 () 2021-10-17 20:15:48 +02:00
Erik Montnemery 0e48985fc5
Validate initial value for input_datetime () 2021-10-07 17:13:07 +02:00
tkdrob 028a07d86f
Wrap up selectors ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Franck Nijhof eccefd154a
Extend targets for entity component services () 2021-05-17 14:06:50 +02:00
J. Nick Koston bf2d40adfe
Migrate from pytz to python-dateutil ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-07 22:46:26 -07:00
Franck Nijhof 1b5596b4c2
Remove ServiceCallType alias from codebase () 2021-05-02 00:15:27 +02:00
Marc Mueller c07646db5d
Update typing syntax ()
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
Franck Nijhof c1d5638739
Remove HomeAssistantType alias from entity components - Part 2 () 2021-03-29 13:24:56 -10:00
Erik Montnemery 346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ()
* Mark base state_attributes @final, rename others to extra_state_attributes

* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
Marc Mueller 283b4abe67
Update typing 09 () 2021-03-18 10:02:00 +01:00
HomeAssistant Azure f625e324dd [ci skip] Translation update 2021-03-18 00:07:07 +00:00
Franck Nijhof ea4bbd771f
Add service names to previously enriched services ()
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-02-23 14:10:13 +01:00
Franck Nijhof da662c4890
Add selectors to Input * service definitions () 2021-02-18 12:23:30 +01:00
Franck Nijhof dd8d4471ec
Postponed evaluation of annotations for integrations () 2021-02-12 18:54:00 +01:00
Paulus Schoutsen 9e07910ab0
Mark entities as unavailable when they are removed but are still registered ()
* Mark entities as unavailable when they are removed but are still registered

* Add sync_entity_lifecycle to collection helper

* Remove debug print

* Lint

* Fix tests

* Fix tests

* Update zha

* Update zone

* Fix tests

* Update hyperion

* Update rfxtrx

* Fix tests

* Pass force_remove=True from integrations

Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Paulus Schoutsen 959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
Philip Allgaier cad2fa89ed
Default `input_datetime` to current date () 2021-01-11 23:45:58 +01:00
Paulus Schoutsen 4f9d5792ed
Fix setting timestamp on input_datetime () 2020-12-16 11:18:50 +01:00
Paulus Schoutsen edf70e9f06
Make input_datetime better handle timezones ()
* Make input_datetime better handle timezones

* Improve test coverage

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Revert change to time format

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-26 20:20:10 +01:00
HomeAssistant Azure c30982c981 [ci skip] Translation update 2020-09-25 00:04:29 +00:00
HomeAssistant Azure 587e3f1eb2 [ci skip] Translation update 2020-09-21 00:02:47 +00:00
HomeAssistant Azure 195d4b6897 [ci skip] Translation update 2020-08-27 00:04:55 +00:00
Phil Bruckner 4ff376cdd6
Add timestamp option for input_datetime.set_datetime () 2020-08-26 11:28:30 +02:00
Paulus Schoutsen 0efeefe3b2 Update translations 2020-05-13 11:27:21 -07:00
Joakim Sørensen 730a257f3c
Rename translations dir for integrations () 2020-04-21 16:11:05 -07:00
Franck Nijhof bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter () 2020-04-20 18:07:50 -07:00
Paulus Schoutsen 95357dfc55 Update translations 2020-04-20 16:33:54 -07:00
HomeAssistant Azure 6d7fb9f46a [ci skip] Translation update 2020-04-20 00:04:37 +00:00
Paulus Schoutsen 0d60d40512 Update translations 2020-04-16 13:00:10 -07:00
Paulus Schoutsen 6119e79023
Migrate frontend translations of domains to backend () 2020-04-16 11:52:27 -07:00
Franck Nijhof 24840b54ac
Add yamllint (in pre-commit and CI) ()
* Add yamllint (in pre-commit and CI)

* Fix linting for all YAML files

* Bump and add it to requirements

* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
Bram Kragten bbe0f75336
input_datetime guard for unexpected state on restore ()
* input_datetime guard for unexpected state

If state is a time and has_date = true, or the other way around, restore state would error

* Update __init__.py

* Add test
2020-03-10 15:15:11 -07:00
springstan 157f972d72
Use f-strings in integrations starting with "H" - "L" ()
* 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
Paulus Schoutsen e9e44dbd97
Fix callback and async ()
* Fix callback and async

* Fix a return

* Fix test

* Fix mqtt tests

* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Thomas 56c235d4f2
Fix example for set_datetime service () 2020-01-29 12:09:19 +01:00
Alexei Chetroi 8a78b65f0d
Extract collection entity registry cleaner into a helper ()
* Extract entity_registry_keeper into separate helper
* Refactor input_*, timer and person to use new helper.
* Make Mypy happy.
* Better name.
2020-01-17 11:41:46 -05:00
Alexei Chetroi d9d5e06baf
Use collection helpers for input_datetime component ()
* Refactor input_datetime.
Keep the state as datetime, but format accordingly to has_time and
has_date.

* Use config dict for input_datetime.
* Add tests.
* Lint
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-01-16 09:16:57 -05:00
Franck Nijhof bfa0edaf92 Migrate Integration Quality Scale from docs to manifest: internal () 2020-01-07 20:58:49 +01:00
Franck Nijhof 345cc244ed
Correct names in manifests (C-L) () 2020-01-07 08:19:17 +01:00
Franck Nijhof a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00
Ville Skyttä e6388e186c
Remove unnecessary string literal concatenations () 2020-01-02 21:17:10 +02:00