Commit Graph
340 Commits
Author SHA1 Message Date
epenet f2b736fad0 Adjust entity registry access in core platforms (#88944)
* Adjust entity registry access in platforms

* Adjust more core components
2023-03-01 08:02:16 +01:00
J. Nick Koston bea81d3f63 Fix lock services not removing entity fields (#88805) 2023-02-26 18:59:28 -05:00
G Johansson 2b3e6a4ca8 Change name to entity_id for lock validation error message (#87574) 2023-02-09 15:59:30 +01:00
Erik Montnemery 1d64ba9d34 Sort manifests 6 (#87027) 2023-02-08 20:38:43 +01:00
Franck NijhofandErik Montnemery 939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Jan Bouwhuis b03677db1c Add validation for lock component (#85842)
* Add validation for lock integration

* Add LockEntityFeature.OPEN for lock group

* Correct tests google_assistant for extra entity

* Validate feature when registering service

* Update tests

* Add LockFeature.OPEN with group
2023-01-23 13:08:00 +01:00
GitHub Action 6220804639 [ci skip] Translation update 2023-01-02 00:23:28 +00:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
epenet a225fc456f Enforce LockEntityFeature (#82461) 2022-11-22 07:15:11 +01:00
GitHub Action fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
epenet 8570d3aabe Adjust type hints for LockEntityFeature (#82256) 2022-11-17 12:47:48 +01:00
epenet a91abebea8 Use IntFlag for EntityFeature (#81903) 2022-11-16 12:43:17 +01:00
Franck Nijhof 2b27cfdabb Set system & entity integration types (#79593) 2022-10-04 10:36:42 -04:00
epenet 64988521bb Make use of generic EntityComponent (part 2) (#78494) 2022-09-17 18:18:53 +02:00
Marc Mueller af002d9dc4 Use TriggerActionType [core, l-m] (#76806) 2022-08-15 17:39:55 +02:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
epenet 3a0e816f1b Adjust device_automation type hints in core platforms 2/3 (#72210) 2022-05-23 16:02:36 +02:00
Franck Nijhof 7d2deae592 Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
Franck Nijhof 721db6d962 Add EntityFeature enum to Lock (#69118) 2022-04-02 20:57:32 -07:00
jan iversen 0d8ff3d724 Add codeowner to internal integrations that are without (#67286) 2022-02-28 09:06:16 +01:00
GitHub Action 6364e81be5 [ci skip] Translation update 2022-02-24 00:17:55 +00:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
GitHub Action 04a2227f4b [ci skip] Translation update 2022-01-19 00:13:35 +00:00
GitHub Action efac363cdf [ci skip] Translation update 2022-01-02 00:14:58 +00:00
Erik Montnemery 3323263c94 Flip behavior for grouped locks (#62580) 2021-12-22 12:14:45 +01:00
Franck Nijhof cf371ea8dd Remove deprecated base entity classes (#61006)
* Remove deprecated base entity classes

* Clean up tests
2021-12-05 13:53:52 +01:00
Erik Montnemery 0e3bc21d54 Teach state and numeric_state conditions about entity registry ids (#60841) 2021-12-02 14:55:12 -08:00
Erik Montnemery c85bb27d0d Teach state trigger about entity registry ids (#60271)
* Teach state trigger about entity registry ids

* Tweak

* Add tests

* Tweak tests

* Fix tests

* Resolve entity ids during config validation

* Update device_triggers

* Fix mistake

* Tweak trigger validator to ensure we don't modify the original config

* Add index from entry id to entry

* Update scaffold

* Pre-compile UUID regex

* Address review comment

* Tweak mock_registry

* Tweak

* Apply suggestion from code review
2021-12-02 14:26:45 +01:00
Erik Montnemery caf5ee2fab Remove optional validation when creating conditions (#60481) 2021-11-28 14:54:07 +01:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
Marc Mueller 4c68662612 Use assignment expressions 34 (#58823) 2021-10-31 19:01:16 +01:00
Marc Mueller c979e89b70 Use assignment expressions 14 (#57939) 2021-10-21 08:26:01 +02:00
Marc Mueller 4f8148f9ea Use assignment expressions 07 (#57787) 2021-10-17 20:24:34 +02:00
GitHub Action 10b62370ff [ci skip] Translation update 2021-10-12 00:12:28 +00:00
Ville Skyttä b10fc89a6b Automation trigger info type hint improvements (#55402)
* Make automation trigger info a TypedDict

* zwave_js trigger type hint fixes

* Remove redundant automation trigger info field presence checks

* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
Ville Skyttä 0095c6baeb Improve device trigger type hinting (#54907) 2021-08-22 20:32:50 +02:00
Ville Skyttä debc6d632c Improve device condition type hinting (#54906) 2021-08-20 22:21:40 +02:00
Ville SkyttäandMartin Hjelmare 4bb2c6e00f Improve device action type hinting (#54850)
* Improve device action type hinting

* More precise _async_get_automations type hints

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 07:13:25 +03:00
Franck Nijhof 0b44265232 Add description classes to entity components (#53521)
* Add description classes to entity components

* An -> A

* Add StateVacuumEntityDescription
2021-07-27 00:22:21 +02:00
J. Nick Koston 9b705ad6df Update lock entity to support locking, unlocking, jammed (#51455) 2021-07-20 18:12:56 +02:00
Franck Nijhof 06c2e541c4 Fully type lock entity component (#51958) 2021-06-17 14:28:56 +02:00
Franck Nijhof 927b5361a3 Define LockEntity entity attributes as class variables (#51909) 2021-06-17 11:25:33 +02:00
Franck Nijhof 7947946793 Type entry setup/unload for entity components (#51912) 2021-06-17 10:10:26 +02:00
Erik Montnemery 6ab37881c9 Improve editing of device actions referencing non-added lock (#51750) 2021-06-12 21:31:30 +02:00
Erik Montnemery 76c3058d15 Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA (#51719) 2021-06-10 19:11:38 +02:00
Erik Montnemery 04e9acc20a Simplify device condition code (#51266) 2021-05-31 09:47:30 +02:00
Erik Montnemery 489c73b4da Simplify device action code (#51263) 2021-05-31 09:47:15 +02:00