1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-01 19:57:08 +01:00
Commit Graph

1389 Commits

Author SHA1 Message Date
GitHub Action 7d31f570e2 [ci skip] Translation update 2022-01-24 00:13:45 +00:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
GitHub Action 9098c71cd4 [ci skip] Translation update 2022-01-22 00:13:08 +00:00
GitHub Action e9e9852e05 [ci skip] Translation update 2022-01-20 00:15:19 +00:00
GitHub Action 04a2227f4b [ci skip] Translation update 2022-01-19 00:13:35 +00:00
GitHub Action 8e14f2037c [ci skip] Translation update 2022-01-18 00:15:38 +00:00
Erik Montnemery 513d6cc467 Change value of device_automation constant (#64296)
* Change value of constant CONF_CHANGED_STATES

* Adjust tests
2022-01-17 16:34:40 +01:00
GitHub Action c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
GitHub Action b949199866 [ci skip] Translation update 2022-01-15 00:14:21 +00:00
GitHub Action 27dd4857df [ci skip] Translation update 2022-01-12 00:15:31 +00:00
GitHub Action a8fee4c2f6 [ci skip] Translation update 2022-01-09 00:15:18 +00:00
GitHub Action 0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
GitHub Action f0a3e241ee [ci skip] Translation update 2022-01-07 00:14:47 +00:00
GitHub Action dd118fe013 [ci skip] Translation update 2022-01-06 00:15:13 +00:00
Marc Mueller ae6d9c229e Use const imports [l-z] (#63469) 2022-01-05 18:21:20 +01:00
GitHub Action d2c06c5947 [ci skip] Translation update 2022-01-05 00:15:18 +00:00
GitHub Action 021a4f7106 [ci skip] Translation update 2022-01-04 00:14:15 +00:00
Erik Montnemery e9b746e874 Add turned on or off device trigger to toggle entity (#61089)
* Add turned on or off device trigger to toggle entity

* Renamed changed_states trigger to toggled

* Adjust tests

* Fix homekit triggers test

* Add tests

* Adjust tests after rebase

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-03 10:41:30 +01:00
Franck Nijhof c5d8792c34 Cleanup switch light (#63127) 2021-12-31 12:47:16 +01:00
Franck Nijhof 78442d82d1 Add color mode support to switch light (#63124) 2021-12-31 11:43:59 +01:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
Franck Nijhof cf371ea8dd Remove deprecated base entity classes (#61006)
* Remove deprecated base entity classes

* Clean up tests
2021-12-05 13:53:52 +01:00
Marvin Wichmann 707fe67c00 Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-03 09:31:17 +01:00
Erik Montnemery 0e3bc21d54 Teach state and numeric_state conditions about entity registry ids (#60841) 2021-12-02 14:55:12 -08:00
Franck Nijhof 542aef2fe1 Migrate switch device classes to StrEnum (#60658) 2021-11-30 15:38:45 -08:00
Erik Montnemery caf5ee2fab Remove optional validation when creating conditions (#60481) 2021-11-28 14:54:07 +01:00
GitHub Action f0c9f443d1 [ci skip] Translation update 2021-11-15 00:12:46 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action 4e419d8c6f [ci skip] Translation update 2021-11-01 00:13:04 +00:00
Marc Mueller 4c68662612 Use assignment expressions 34 (#58823) 2021-10-31 19:01:16 +01:00
GitHub Action 4634b65924 [ci skip] Translation update 2021-10-21 00:12:43 +00:00
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