Commit graph

11 commits

Author SHA1 Message Date
Erik Montnemery
c805ea7b4f
Include deprecated constants in wildcard imports () 2024-01-05 11:46:45 +01:00
Robert Resch
28e4358c53
Deprecate deprecated humidifier constants () 2023-12-20 18:05:43 +01:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum () 2023-07-23 23:19:24 +02:00
Denis Shulyaka
ae21ab2945
Add action attribute to Humidifier entity ()
* 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
Denis Shulyaka
185aaa9e07
Humidifier current humidity () 2023-06-20 09:43:33 +02:00
epenet
a91abebea8
Use IntFlag for EntityFeature () 2022-11-16 12:43:17 +01:00
Franck Nijhof
02dbd617b9
Add EntityFeature enum to Humidifier () 2022-04-01 20:10:52 +02:00
Franck Nijhof
c6cbfe8c37
Migrate humidifier device classes to StrEnum ()
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-12-01 12:02:14 +01:00
tkdrob
ab53b49d3f
Clean up constants ()
* Clean up constants

* clean up humidifier constants

* fix tests

* fix prometheus tests

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-02 12:52:00 +01:00
tkdrob
4fdb617e22
Clean up constants ()
* Clean up constants

* fix imports
2021-02-23 09:56:44 +01:00
Shulyaka
c28493098a
Add new humidifier entity integration ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-22 17:59:16 -07:00