Commit graph

21 commits

Author SHA1 Message Date
Franck Nijhof
3d557b5583
Collection of code styling tweaks (#87381) 2023-02-04 12:52:26 -05:00
Marc Mueller
702f8180a6
Use TriggerActionType [l-t] (#76813) 2022-08-15 14:00:42 -04:00
epenet
52808562ab
Improve DEVICE_TRIGGERS typing in tasmota (#72149)
* Improve DEVICE_TRIGGERS typing in tasmota

* fix CI

* Simplify

* Simplify some more
2022-05-23 21:32:03 +02:00
epenet
5137e6b18d
Adjust device_automation type hints in tasmota (#72201) 2022-05-23 15:00:24 +02:00
epenet
694dc97ac5
Adjust device_automation type hints in tasmota (#72140) 2022-05-19 10:15:41 +03:00
Erik Montnemery
eb4bc273af
Improve Tasmota device removal (#66811) 2022-02-23 20:21:28 +01:00
Marc Mueller
364767ff22
Import Callable from collections.abc (4) (#56778) 2021-09-29 16:15:36 +02: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
Erik Montnemery
8c812bc25c
Improve typing of Tasmota (2/3) (#52747)
* Improve typing of Tasmota (2/3)

* Add more typing, add TasmotaOnOffEntity

* Address review comments
2021-07-12 18:27:11 +02:00
Erik Montnemery
98fdb00bc7
Enable basic type checking for Tasmota (#52435) 2021-07-02 16:45:38 +02:00
Erik Montnemery
76c3058d15
Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA (#51719) 2021-06-10 19:11:38 +02:00
jan iversen
2e084f260e
Rename HomeAssistantType —> HomeAssistant, integrations s* - t* (#49550) 2021-04-22 16:21:38 +02:00
Erik Montnemery
72281f4718
Validate device trigger schemas once (#48319) 2021-03-26 08:09:21 +01:00
Marc Mueller
4cb7718192
Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00
Marc Mueller
b67b9b94f9
Update typing 13 (#48077) 2021-03-18 14:43:52 +01:00
Philip Allgaier
392c058d34
Ensure consistent spelling of "ID" (#44585) 2020-12-28 18:34:08 +01:00
Erik Montnemery
ed576edde7
Fix Tasmota device triggers (#44574) 2020-12-28 14:41:39 +01:00
Erik Montnemery
62b5279d86
Add WS command to remove a Tasmota device (#42266) 2020-10-30 09:56:41 +01:00
Erik Montnemery
49b7f317ff
Fix Tasmota stale docstring + print level (#41992) 2020-10-17 13:07:21 +02:00
Erik Montnemery
9e9f841f35
Add Tasmota device trigger (#41590)
* Add Tasmota device trigger

* Correct import

* Remove useless try-except

* Remove commented out code

* Align with hatasmota 0.0.14

* Update according to review comments
2020-10-16 08:16:07 +02:00