core/tests/components
Denis Shulyaka ae21ab2945
Add action attribute to Humidifier entity (#95131)
* Add HumidifierAction StrEnum

* Add action attribute to HumidifierEntity

* Update strings.json

* Add action to demo humidifier

* Add tests

* Fix imports

* Add 'off' humidifier action

* Set action to 'off' when state is 'off'

* Add 'off' action to strings.json

* Test that action sets to "off" when state is "off"

* Use is_on instead of state

* Fix typo

* black
2023-06-28 13:21:17 +02:00
..
2023-03-28 14:59:03 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-05-04 11:25:35 +02:00
2023-06-18 15:06:09 -05:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-30 20:34:57 +02:00
2023-05-29 23:24:15 +02:00
2023-02-15 14:09:50 +01:00
2023-04-25 15:40:46 +02:00
2023-03-02 12:33:04 +01:00
2023-05-04 11:25:35 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 16:46:03 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-09 13:41:50 +01:00
2023-05-04 11:25:35 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-06-28 09:42:12 +02:00
2023-04-06 13:48:19 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 10:18:58 +01:00
2023-03-22 20:00:47 -04:00
2023-03-28 08:46:16 +02:00
2023-05-26 15:20:46 +02:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-06-08 15:57:49 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-04-29 11:18:16 +02:00
2023-02-15 14:09:50 +01:00
2023-06-25 09:00:52 -05:00
2023-02-15 14:09:50 +01:00
2023-02-22 13:55:44 +01:00
2023-06-27 17:42:27 +02:00
2023-02-15 14:09:50 +01:00
2023-05-04 11:25:35 +02:00
2023-06-10 09:21:33 +02:00
2023-03-22 20:00:47 -04:00
2023-03-28 11:54:16 +02:00
2023-06-12 20:30:15 +02:00
2023-02-15 14:09:50 +01:00
2023-05-26 15:35:06 +02:00
2023-06-23 11:32:20 +02:00
2023-04-12 23:47:37 +02:00
2023-04-12 08:19:01 +02:00
2023-03-04 22:26:16 +01:00
2023-02-17 21:08:18 -05:00
2023-06-27 18:46:36 +02:00
2023-04-30 22:33:51 +02:00
2023-03-22 20:00:47 -04:00
2023-05-21 21:13:59 +02:00
2023-02-15 14:09:50 +01:00
2023-06-08 23:43:56 +02:00
2023-04-20 08:42:22 -10:00
2023-03-26 20:03:03 +02:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00