1
mirror of https://github.com/home-assistant/core synced 2024-07-30 21:18:57 +02:00
Commit Graph

1358 Commits

Author SHA1 Message Date
Marc Mueller
aa7dc78a1e
Use assignment expressions 11 (#57792) 2021-10-17 20:15:48 +02:00
GitHub Action
f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +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ä
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
GitHub Action
0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
Franck Nijhof
7947946793
Type entry setup/unload for entity components (#51912) 2021-06-17 10:10:26 +02:00
Franck Nijhof
a383198c0c
Fully type switch entity component (#51586) 2021-06-07 19:36:34 +02:00
Erik Montnemery
a6902ffd8a
Remove is_standby from SwitchEntity (#51400) 2021-06-03 14:21:52 +02:00
Franck Nijhof
6b0e57e641
Define SwitchEntity entity attributes as class variables (#51232) 2021-06-01 10:23:10 +02:00
GitHub Action
1f80defe3a [ci skip] Translation update 2021-05-18 00:12:13 +00:00
Franck Nijhof
eccefd154a
Extend targets for entity component services (#50760) 2021-05-17 14:06:50 +02:00
tkdrob
d37a3cded0
Add targets and selectors for services (S-T) (#50629) 2021-05-14 22:30:41 -07:00
Ruslan Sayfutdinov
786c5db5be
Use AddEntitiesCallback type, pt.4 (#49955) 2021-05-04 14:50:06 +02:00
Marc Mueller
c07646db5d
Update typing syntax (#49480)
* 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 (#48468) 2021-03-29 13:24: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
a3cd1854f6
Update typing 12 (#48073) 2021-03-18 14:31:38 +01:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Franck Nijhof
5d5a110a20
None optional hass typing in base entity and notify (#47528) 2021-03-15 15:11:41 +01:00
Paulus Schoutsen
e6a6b2a680
Simplify switch light (#47317) 2021-03-03 10:13:04 -08:00
Franck Nijhof
c8c3ce4172
Add selectors to Switch service definitions (#46635) 2021-02-18 12:24:42 +01:00
Paulus Schoutsen
959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
Paulus Schoutsen
712a5a098d
Add significant change filtering to Google (#45566) 2021-01-26 21:45:09 +01:00
HomeAssistant Azure
fc42f59b0b [ci skip] Translation update 2020-12-02 00:03:14 +00:00
HomeAssistant Azure
b102ad731f [ci skip] Translation update 2020-10-22 00:09:52 +00:00
HomeAssistant Azure
59a3add24a [ci skip] Translation update 2020-10-19 00:03:28 +00:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
HomeAssistant Azure
6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
J. Nick Koston
9ccebdb8d5
Refactor group to extend domains that can be grouped (#40607)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-30 09:13:53 -05:00
Thibaut
729ed1cab6
Add unique_id to the light switch (#40603)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-30 13:05:18 +02:00
HomeAssistant Azure
e9e17122e7 [ci skip] Translation update 2020-09-28 00:03:28 +00:00
HomeAssistant Azure
75659ff787 [ci skip] Translation update 2020-09-23 00:05:01 +00:00
HomeAssistant Azure
587e3f1eb2 [ci skip] Translation update 2020-09-21 00:02:47 +00:00
HomeAssistant Azure
6e79d49c80 [ci skip] Translation update 2020-09-10 00:04:20 +00:00
HomeAssistant Azure
07d5af1969 [ci skip] Translation update 2020-09-08 00:04:13 +00:00
HomeAssistant Azure
5ce62c8446 [ci skip] Translation update 2020-09-02 00:03:29 +00:00
HomeAssistant Azure
195d4b6897 [ci skip] Translation update 2020-08-27 00:04:55 +00:00
J. Nick Koston
20d5d3c162
Switch a few more async_track_state_change to the faster async_track_state_change_event (#37833)
async_track_state_change_event is faster than async_track_state_change
and since we do not care about the data being returned to the callback
this is a simple speedup
2020-07-14 22:31:34 -07:00
HomeAssistant Azure
a6fb9e6100 [ci skip] Translation update 2020-07-03 00:03:38 +00:00
Franck Nijhof
f42eb0d5ca
Fix missing service call context in multiple locations (#37094) 2020-06-25 17:09:52 -07:00
HomeAssistant Azure
140fd5adaf [ci skip] Translation update 2020-06-09 00:05:22 +00:00
HomeAssistant Azure
492874c4a0 [ci skip] Translation update 2020-06-06 00:03:33 +00:00
HomeAssistant Azure
d488c779fc [ci skip] Translation update 2020-06-01 00:03:28 +00:00
HomeAssistant Azure
9586e9ebef [ci skip] Translation update 2020-05-15 00:02:56 +00:00
HomeAssistant Azure
78f846d532 [ci skip] Translation update 2020-05-03 00:02:26 +00:00
HomeAssistant Azure
7faba60e83 [ci skip] Translation update 2020-04-29 00:03:31 +00:00
Erik Montnemery
066e921a8b
Rename SwitchDevice to SwitchEntity (#34673) 2020-04-26 18:50:37 +02:00