1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00
Commit Graph

1416 Commits

Author SHA1 Message Date
epenet
b10ee779f9
Adjust device_automation type hints in core platforms 3/3 (#72211) 2022-05-23 16:01:40 +02:00
GitHub Action
3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet
be6dc81fc0
Use ColorMode enum in switch (#70537) 2022-04-23 10:26:35 -10:00
epenet
ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
Paulus Schoutsen
69fcce3b2c
Remove energy usage from the switch base class (#68821)
* Remove energy usage from the switch base class

* Remove unused attributes from integrations
2022-03-28 18:56:04 -10:00
Erik Montnemery
cc156c767d
Revert light.switch to 2022.3 (#68772) 2022-03-28 12:28:15 +02:00
GitHub Action
c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action
dc31f420ed [ci skip] Translation update 2022-03-12 00:17:47 +00:00
GitHub Action
66d757115c [ci skip] Translation update 2022-03-11 00:21:48 +00:00
Erik Montnemery
cb7e492e81
Add switch_as_x integration (#67878)
* Add switch_as_x integration

* Address review comments

* Add translation strings

* Rename entity_type option to target_domain

* Move LightSwitch class definition to switch_as_x/light.py

* Update manifest

* Move tests
2022-03-10 12:23:01 +01:00
GitHub Action
d0afc31063 [ci skip] Translation update 2022-03-10 00:17:10 +00:00
Erik Montnemery
e7fba46a06
Refactor helper_config_entry_flow (#67895) 2022-03-09 13:18:19 +01:00
GitHub Action
c374435282 [ci skip] Translation update 2022-03-08 00:18:11 +00:00
GitHub Action
2957f4ce85 [ci skip] Translation update 2022-03-07 00:18:40 +00:00
GitHub Action
f5d25eaf8f [ci skip] Translation update 2022-03-06 00:18:25 +00:00
GitHub Action
acd906dfab [ci skip] Translation update 2022-03-05 00:19:17 +00:00
Erik Montnemery
0c12914548
Add config flow for switch.light (#67447)
* Add config flow for switch.light

* Refactor according to code review

* Setup light switch from config entry

* Improve async_resolve_entity

* Prepare for multiple steps

* Remove name and options flow from switch light

* Check type before adding description to schema keys

* Remove options flow enabler

* Copy name from the switch

* Move helper flows to new file

* Improve test coverage

* Fix name

* Remove dead code from abstract method

* Remove manifest 'helper' option

* Validate registry entry id before forwarding to light platform

* Improve test

* Add translations

* Improve config entry setup

* Log when config entry fails setup

* Update homeassistant/components/switch/__init__.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-04 20:02:17 +01:00
jan iversen
0d8ff3d724
Add codeowner to internal integrations that are without (#67286) 2022-02-28 09:06:16 +01:00
GitHub Action
6364e81be5 [ci skip] Translation update 2022-02-24 00:17:55 +00:00
GitHub Action
855076fed9 [ci skip] Translation update 2022-02-17 00:14:03 +00:00
GitHub Action
ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
GitHub Action
fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
GitHub Action
5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
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