1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
Commit Graph

141 Commits

Author SHA1 Message Date
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
Marc Mueller
4161f53bea
Improve async_track_state_change_filtered callback typing (#97134) 2023-07-24 12:42:29 +02:00
Marc Mueller
797a9c1ead
Improve async_track_state_added/removed_domain callback typing (#97126) 2023-07-24 09:11:41 +02:00
Marc Mueller
2618bfc073
Use EventType for state changed [core] (#97115) 2023-07-23 18:10:03 -05:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] (#97065) 2023-07-22 17:03:44 -05:00
Joost Lekkerkerker
b367c95c81
Add more common translations (#96429)
* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof
c431fc2297
Migrate reload only helper services to support translations (#96344) 2023-07-11 20:56:21 +02:00
J. Nick Koston
b51dcb600e
Avoid enumerating the whole state machine to find zone entities (#94866) 2023-06-20 14:48:28 +01:00
J. Nick Koston
10aa49be2b
Speed up async_active_zone by avoiding dict lookups (#93427)
Speed up async_active_zone by avoding dict lookups
2023-05-25 21:37:18 -04:00
Erik Montnemery
8f8a398631
Support marking an assist pipeline as preferred (#91418)
* Support marking an assist pipeline as preferred

* Adjust

* Revert unneeded change

* Send preferred pipeline id in pipeline list

* Don't use property functions for the preferred pipeline
2023-04-15 10:05:46 -04:00
Erik Montnemery
59a02cd08c
Allow storing other items than untyped dict in StorageCollection (#90932)
Allow storing other items than untyped dict in StorageCollection
2023-04-06 10:57:00 -04:00
Erik Montnemery
fa308d8e10
Drop unused logger argument for StorageCollection() (#90913) 2023-04-06 13:28:34 +02:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
Marc Mueller
ea4e2ab4aa
Add Self typing (4) [mypy 1.0] (#87601) 2023-02-06 22:30:22 -06:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action
4d215e573c [ci skip] Translation update 2023-01-23 00:23:13 +00:00
GitHub Action
b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
Franck Nijhof
d4f69a3652
String formatting and max line length - Part 7 (#84532)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-27 11:18:56 +01:00
GitHub Action
31a3f1100a [ci skip] Translation update 2022-12-24 00:19:43 +00:00
GitHub Action
a1eab7f842 [ci skip] Translation update 2022-12-04 00:23:06 +00:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
Erik Montnemery
3aa64aaaf1
Mark some integrations as system integrations (#80948) 2022-10-25 15:30:46 +02:00
GitHub Action
3e9c0f18f9 [ci skip] Translation update 2022-09-25 00:28:01 +00:00
epenet
996bcbdac6
Make EntityComponent generic (#78473) 2022-09-14 14:16:23 -04:00
epenet
7db1f8186c
Improve zone typing (#78294)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-12 23:43:21 +02:00
Erik Montnemery
b0d033ef29
Add mixin class CollectionEntity for the collection helper (#77703)
* Add mixin class CollectionEntity for the collection helper

* Improve typing

* Address review comments

* Fix tests
2022-09-03 12:56:49 +02:00
Marc Mueller
453cbc3e14
Use TriggerActionType [core, t-z] (#76808) 2022-08-15 18:15:20 +02:00
epenet
5cfb31d28a
Adjust device_automation type hints in core components (#72207) 2022-05-23 16:07:34 +02:00
GitHub Action
9a3ecacf6b [ci skip] Translation update 2022-05-20 00:21:27 +00:00
Franck Nijhof
800bf926aa
Add attribute to zone indicating persons in zone (#69767)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-10 23:36:40 -07:00
Franck Nijhof
28d3117a88
Track number of persons in a Zone (#68473) 2022-03-21 10:41:55 -07:00
Erik Montnemery
cd25769667
Rename async_resolve_entity_ids to async_validate_entity_ids (#67603) 2022-03-04 09:51:53 +01:00
GitHub Action
c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
Marc Mueller
45d8d04c40
Use assignment expressions [other] (#66882) 2022-02-19 17:22:51 +01:00
Marc Mueller
ac50248938
Add type ignore error codes [other] (#66781) 2022-02-17 23:10:25 -08:00
GitHub Action
b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
Paulus Schoutsen
5289935ac1
I zone, you zone, we zoning (#65344) 2022-01-31 17:04:46 -08:00
Erik Montnemery
30fd902764
Correct zone state (#65040)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-27 10:01:09 -08:00
Paulus Schoutsen
b2de177104
Fix circles in person integration (#64991) 2022-01-26 10:25:13 -08:00
Erik Montnemery
9ff49e9c3a
Change zone's state to be number of person entities in the zone (#64910)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-26 09:00:43 -08:00
GitHub Action
c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
GitHub Action
d99548fc04 [ci skip] Translation update 2022-01-10 00:14:49 +00:00
Erik Montnemery
cf09d1b604
Improve warnings when a zone trigger is referencing a none-existing zone (#61763) 2021-12-14 20:14:50 +01:00
Erik Montnemery
5b8d081441
Teach zone trigger about entity registry ids (#60838) 2021-12-02 10:28:21 -08:00
GitHub Action
e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action
f9d985553c [ci skip] Translation update 2021-10-22 00:14:10 +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
GitHub Action
19dcb19d07 [ci skip] Translation update 2021-09-04 00:13:17 +00:00
Ville Skyttä
939fde0a50
ConfigType and async_setup/setup type hint improvements (#54739) 2021-08-18 13:22:05 +02:00