Erik Montnemery
df73850f56
Move definition of attributes excluded from history to entity classes ( #100430 )
...
* Move definition of attributes excluded from history to entity classes
* Revert change which should be in a follow-up PR
* Fix sun unrecorded attributes
* Fix input_select unrecorded attributes
2023-09-21 15:02:47 +02:00
Erik Montnemery
d1afcd773f
Revert "Cache entity properties that are never expected to change in the base class" ( #100422 )
...
Revert "Cache entity properties that are never expected to change in the base class (#95315 )"
This reverts commit 042776ebb8
.
2023-09-15 11:25:24 +02:00
J. Nick Koston
042776ebb8
Cache entity properties that are never expected to change in the base class ( #95315 )
2023-09-14 17:48:48 -05:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum ( #97101 )
2023-07-23 23:19:24 +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
Franck Nijhof
46caefca7b
Remove str from humidifier device class ( #83397 )
2022-12-06 14:51:23 +01:00
epenet
d4bd9a0f7e
Enforce HumidifierEntityFeature ( #82459 )
2022-11-22 07:14:19 +01:00
epenet
0c887eab87
Cleanup access to supported features ( #82274 )
2022-11-17 20:00:52 +01:00
epenet
2453f95b24
Adjust HumidifierEntity type hints ( #82248 )
2022-11-17 10:58:46 +01:00
epenet
64988521bb
Make use of generic EntityComponent (part 2) ( #78494 )
2022-09-17 18:18:53 +02:00
epenet
d88334b2b2
Expose humidifier constants at the top level ( #78033 )
2022-09-13 11:28:08 +02:00
Franck Nijhof
02dbd617b9
Add EntityFeature enum to Humidifier ( #69092 )
2022-04-01 20:10:52 +02:00
Franck Nijhof
2fe08d2b9b
Complete strict typing to Humidifier entity platform ( #61021 )
2022-01-04 18:09:32 +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
Franck Nijhof
c6cbfe8c37
Migrate humidifier device classes to StrEnum ( #60706 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-12-01 12:02:14 +01:00
Damien Duboeuf
67c2747027
Add MQTT object_id option ( #58728 )
...
* Add MQTT object_id option
* Add MQTT object_id option
* Add MQTT object_id option
* Add MQTT object_id option - Fix light and vacuum
* Add MQTT object_id option - Fix light and vacuum
* Add MQTT object_id option - Fix lock
* Add MQTT object_id option - Fix device
* Add MQTT object_id option - Fix device
* Update tests/components/mqtt/test_discovery.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Change deprecated method
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-08 14:02:18 +01:00
Franck Nijhof
0b44265232
Add description classes to entity components ( #53521 )
...
* Add description classes to entity components
* An -> A
* Add StateVacuumEntityDescription
2021-07-27 00:22:21 +02:00
Franck Nijhof
7947946793
Type entry setup/unload for entity components ( #51912 )
2021-06-17 10:10:26 +02:00
Franck Nijhof
32409a2c93
Define HumidifierEntity entity attributes as class variables ( #51841 )
2021-06-14 09:04:46 -07:00
Franck Nijhof
c1d5638739
Remove HomeAssistantType alias from entity components - Part 2 ( #48468 )
2021-03-29 13:24:56 -10:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ( #48161 )
...
* Mark base state_attributes @final, rename others to extra_state_attributes
* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
Marc Mueller
5cdd945f44
Update typing 08 ( #48058 )
2021-03-18 09:25:40 +01:00
tkdrob
4fdb617e22
Clean up constants ( #46924 )
...
* Clean up constants
* fix imports
2021-02-23 09:56:44 +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