Commit graph

113 commits

Author SHA1 Message Date
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
GitHub Action
ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
GitHub Action
378b5f75ec [ci skip] Translation update 2021-07-04 00:09:33 +00:00
Erik Montnemery
4c9f12b9c5
Correct trace path for trigger with custom id (#51847) 2021-06-14 17:09:20 +02:00
Erik Montnemery
49bec86dae
Add base schema for triggers (#51727)
* Add base schema for triggers

* Tweak

* Make TRIGGER_BASE_SCHEMA a voluptuous schema

* Make state trigger BASE_SCHEMA a voluptuous schema
2021-06-11 09:51:12 +02:00
GitHub Action
c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
Michael
9eecd90afc
Add constructor return type in integrations T-Z (#50899) 2021-05-20 17:00:19 +02:00
tkdrob
7b5fff357e
Add targets and selectors for services (X-Z) (#50639)
* Add targets and selectors for services (X-Z)

* Adjustments
2021-05-15 12:24:52 -04:00
Marc Mueller
f1d48ddfe3
Update pylint to 2.8.0 (#49637) 2021-04-24 14:39:24 -10:00
HomeAssistant Azure
f6a24e8d68 [ci skip] Translation update 2021-04-20 00:04:05 +00:00
Erik Montnemery
b26779a27a
Add id to automation triggers (#48464) 2021-03-31 14:56:04 +02:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes (#48161)
* 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
dcca29ef68
Update typing 14 (#48078) 2021-03-18 15:08:35 +01:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Ville Skyttä
dc880118a4
Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Anders Melchiorsen
e7e3e09063
Raise ConditionError for zone errors (#46253)
* Raise ConditionError for zone errors

* Do not test missing state

* Handle multiple entities/zones
2021-02-19 13:14:47 +01:00
Franck Nijhof
dd8d4471ec
Postponed evaluation of annotations for integrations (#46455) 2021-02-12 18:54:00 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered (#45528)
* 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
J. Nick Koston
869cb83170
Set should_poll for zone entities (#43212) 2020-11-15 11:40:03 -06:00
Matthew Donoughe
bc4bbaf6ef
Add device trigger support for device trackers (#42324)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 12:04:16 +01:00
HomeAssistant Azure
81296b2b70 [ci skip] Translation update 2020-10-20 00:08:00 +00:00
J. Nick Koston
b51a160cce
Update triggers to use HassJob (#41450)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-08 09:44:34 +02:00
HomeAssistant Azure
81c6d48cb4 [ci skip] Translation update 2020-10-02 00:05:51 +00:00
HomeAssistant Azure
75659ff787 [ci skip] Translation update 2020-09-23 00:05:01 +00:00
HomeAssistant Azure
07d5af1969 [ci skip] Translation update 2020-09-08 00:04:13 +00:00
Phil Bruckner
e6141ae558
Add description of what caused an automation trigger to fire (#39251)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 17:02:12 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00