Commit Graph
13 Commits
Author SHA1 Message Date
Erik Montnemery cc564026fa Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof 769e0356ad Clean up unnecessary registry mocks from scaffolding templates (#87732) 2023-02-09 08:22:41 +01:00
Franck Nijhof 7d2deae592 Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
Erik Montnemery 64381acbaf Mark device actions from hidden or auxiliary entities as secondary (#70278) 2022-04-20 10:48:46 -07:00
Ville Skyttä 334c6c5c02 Make device automation type an enum (#62354) 2021-12-20 19:16:30 +01: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
Erik Montnemery 489c73b4da Simplify device action code (#51263) 2021-05-31 09:47:15 +02:00
Franck Nijhof d2d78d6205 Extend typing on scaffold templates (#48232) 2021-03-26 15:19:44 +01:00
Marc Mueller 4cb7718192 Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00
Paulus Schoutsen 7d23ff6511 Add device action to mobile app to notify (#43814) 2020-12-01 18:14:01 +01:00
Bas Nijholt 5cb6d1b21f Sort imports according to PEP8 for 'script' folder (#29790) 2019-12-09 16:24:03 +01:00
Erik Montnemery 0ba4ee1398 Validate generated device actions (#27262)
* Validate generated actions

* Use hass.services.async_call instead of service.async_call_from_config
2019-10-08 10:06:17 -07:00
Paulus Schoutsen 77654da341 Add templates to scaffold device_trigger, device_condition, (#26871)
device_action
2019-09-27 12:54:17 -07:00