Commit graph

11 commits

Author SHA1 Message Date
Marc Mueller
0f03079065
Update import for EventStateChangedData [i-z] (#114900) 2024-04-04 11:48:29 -10:00
Marc Mueller
84c44c1835
Replace EventType with Event [l-s] (#112741) 2024-03-08 19:37:18 +01:00
Marc Mueller
930a396712
Add empty line after module docstring [s] (#112704) 2024-03-08 14:33:51 +01:00
Erik Montnemery
4b2b4ae36b
Add invert option to switch_as_x (#107535)
* Add invert option to switch_as_x

* Store invert flag in entity options

* Add options flow

* Update strings

* Add tests

* Address review comment

* Update homeassistant/components/switch_as_x/strings.json

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Address review comments

* Inline get_suggested which was only used once in tests

* Address review comments

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-01-24 16:35:08 +01:00
Marc Mueller
995c29e052
Cleanup EventType typing (#97136) 2023-07-24 13:18:38 +02:00
Erik Montnemery
eb63bc7967
Fix switch_as_x name (#91232) 2023-04-11 13:54:30 -04:00
Erik Montnemery
5948347b6b
Fix switch_as_x entity naming (#89992)
* Fix switch_as_x entity naming

* Simplify name logic
2023-03-22 20:24:05 +01:00
Franck Nijhof
fe5e3320d4
Adjust switch as X to inherit entity category (#79081) 2022-09-26 10:22:45 +02:00
epenet
7871a517a8
Import constants from root (#78271) 2022-09-12 18:53:05 +02:00
epenet
f11f1db177
Use EntityFeature enum in switch_as_x (#69442) 2022-04-07 08:14:10 +03:00
Franck Nijhof
c70c699af0
Add cover platform to Switch as X (#68107) 2022-03-14 11:59:55 +01:00