G Johansson
3c3f512583
Remove setup_platform for demo ( #100867 )
2023-10-15 23:12:41 +02:00
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
Denis Shulyaka
185aaa9e07
Humidifier current humidity ( #94874 )
2023-06-20 09:43:33 +02:00
Erik Montnemery
9a3077d64a
Always setup demo platforms with device support from config entry ( #94586 )
...
* Always setup demo platforms with device support from config entry
* Adjust test fixutres
* Update tests depending on the demo integration
2023-06-14 16:50:35 +02:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
epenet
59ca7780fa
Add typing to tests with single hass argument ( #87631 )
2023-02-07 15:01:16 +01:00
epenet
8cc0c4dbba
Adjust root-import in demo humidifier tests ( #78772 )
2022-09-19 15:48:01 +02:00
tkdrob
ab53b49d3f
Clean up constants ( #46948 )
...
* 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
Shulyaka
c28493098a
Add new humidifier entity integration ( #28693 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-22 17:59:16 -07:00