Michael Hansen
7923471b94
Intent target matching and media player enhancements ( #115445 )
...
* Working
* Tests are passing
* Fix climate
* Requested changes from review
2024-05-07 22:01:03 -04:00
J. Nick Koston
81d2f5b791
Small cleanups to climate entity feature compat ( #116361 )
...
* Small cleanups to climate entity feature compat
Fix some duplicate property fetches, avoid generating a new
enum every time supported_features was fetched if there was
no modifier
* param
* param
2024-04-29 15:43:55 +02:00
Jan Bouwhuis
986df70fe3
Refactor group setup ( #116317 )
...
* Refactor group setup
* Add @callback decorator and remove commented out code
* Keep set, add default on state
2024-04-28 16:32:17 +02:00
Sid
d74be6d5fe
Set Ruff RUF001-003 to ignore ( #115477 )
2024-04-13 00:51:36 +02:00
Marc Mueller
816ce116bf
Remove unnecessary functools.cached_property backport ( #114239 )
2024-04-04 11:24:26 +02:00
Michael Hansen
d23b22b566
Add initial support for floors to intents ( #114456 )
...
* Add initial support for floors to intents
* Fix climate intent
* More tests
* No return value
* Add requested changes
* Reuse event handler
2024-03-30 16:59:20 -04:00
G Johansson
c21d508c2d
Start deprecation of auxiliary heater in ClimateEntity ( #112532 )
...
* Start deprecation of auxiliary heater in ClimateEntity
* No issue for core integrations
* Remove unneded strings
* Move report to state_attributes
2024-03-27 16:10:32 +01:00
Marc Mueller
44eeb2eb5e
Allow Humidifier.current_humidity to be a float ( #111297 )
...
* Allow Humidifier.current_humidity to be a float
* Code review
* Allow climate humidity values to be float
* Update demo integration
2024-03-27 11:19:20 +01:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Jan Bouwhuis
554aefed42
Generate HomeAssistantError message from English translations ( #113305 )
...
* Fetch exception message from translation cache
* Improve tests
* Return translation key without path, cleanup
* Fetch translations when string variant is requested
* Move import
* revert changes ConfigValidationError
* mypy
* Remove _str__ method instead
* Type _message for mqtt template exception classes
* Revert changes made to test_config.py
* Undo changes TemplateError
* Follow up comments and test coverage
2024-03-16 22:56:48 +01:00
J. Nick Koston
b26928878f
Remove group integration platforms that use the default states ( #113562 )
...
Remove group integration platforms that use the default
There is no need to register platforms that use the defaults
as the group code already uses STATE_ON/STATE_OFF when there
are no on/off states in the GroupIntegrationRegistry
2024-03-15 20:51:21 -04:00
Joost Lekkerkerker
3f2a51bcff
Add service icons to Climate ( #113409 )
2024-03-14 20:45:21 +01:00
J. Nick Koston
c3b5e819c5
Fix group loading too late resulting in incorrect state ( #113262 )
2024-03-13 19:18:15 -10:00
mattmccormack
5ab7cb6ddd
Add auto fan mode icon ( #110185 )
2024-03-12 21:55:26 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Michael
58a6f26f66
Fix scene activation with climate entities with `None` attribute values ( #110684 )
...
don't call service with attribute None
2024-02-16 22:27:55 +01:00
Artur Pragacz
3392660537
Add toggle service to climate ( #100418 )
...
* Add toggle service to climate
* Fix mqtt test
* Add comments
* Fix rebase
* Remove not needed properties
* Fix toggle service
* Fix test
* Test
* Mod mqtt test
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-02-16 15:53:48 +01:00
Michael Hansen
1750f54da4
Assist fixes ( #109889 )
...
* Don't pass entity ids in hassil slot lists
* Use first completed response
* Add more tests
2024-02-07 15:13:42 -06:00
G Johansson
e877113b21
Add back logging for core for feature flags in climate ( #109572 )
2024-02-04 15:15:00 +01:00
G Johansson
61c82718f2
Don't log warning for core integrations on new feature flags in Climate ( #109250 )
...
* Don't log for core integration on Climate new feature flags
* Add test
* Fix test
2024-02-01 16:53:53 +01:00
G Johansson
ddb56fe20d
Modify climate turn_on/off backwards compatibility check ( #109195 )
...
* Modify climate turn_on/off backwards compatibility check
* Fix logger message
* Comments
* Fix demo
* devolo
* ecobee
* Some more
* Fix missing feature flag
* some more
* and some more
* Remove demo change
* Add back demo change
* Fix demo
* Update comments
2024-01-31 16:29:36 +01:00
G Johansson
bc720b48b4
Add TURN_OFF and TURN_ON to ClimateEntityFeature ( #101673 )
...
* Add ClimateEntityFeature.TURN_OFF
* Fixes
* Fixes
* wording
* Change to services
* Fixing
* Fixing
* Last bits
* Review comments
* Add hvac_modes checks
* Fixes
* Add tests
* Review comments
* Update snapshots
* balboa
* coolmaster
* ecobee
* mqtt
* nest
* plugwise
* smarttub
* whirlpool
* zwave_js
* fix test climate
* test climate
* zwave
* nexia
* nuheat
* venstar
* tado
* smartthings
* self.hvac_modes not None
* more tests
* homekit_controller
* homekit controller snapshot
2024-01-30 15:07:47 +01:00
Paul Bottein
0d633f33fa
Set right icon for set_humidity climate service ( #108801 )
2024-01-24 20:40:48 +01:00
Paul Bottein
8d1665df16
Use fixed state icon for climate domain ( #108723 )
2024-01-24 08:44:10 +01:00
Franck Nijhof
d3bb33bd50
Add climate icon translations ( #108418 )
2024-01-20 09:10:22 +01:00
Erik Montnemery
c805ea7b4f
Include deprecated constants in wildcard imports ( #107114 )
2024-01-05 11:46:45 +01:00
J. Nick Koston
f3ecec9c44
Fix missed cached_property for hvac_mode in climate ( #106692 )
2023-12-29 14:12:19 -10:00
J. Nick Koston
552d4e49f0
Climate platform back-compat for custom components without ClimateEntityFeature ( #106605 )
2023-12-29 00:36:28 +01:00
Michael
756847eea8
Only check known attributes in significant change support ( #106572 )
...
only check known attributes
2023-12-28 20:20:59 +01:00
G Johansson
83f4d3af5c
Implement mode validation in Climate entity component ( #105745 )
...
* Implement mode validation in Climate entity component
* Fix some tests
* more tests
* Fix translations
* fix deconz tests
* Fix switcher_kis tests
* not None
* Fix homematicip_cloud test
* Always validate
* Fix shelly
* reverse logic in validation
* modes_str
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-27 14:51:39 +01:00
J. Nick Koston
244a7bef39
Use faster contains check in climate ( #106430 )
2023-12-26 12:18:52 -10:00
J. Nick Koston
9052b89d63
Add support for attribute caching to the climate platform ( #106266 )
2023-12-23 11:29:33 -10:00
Robert Resch
494a897568
Deprecate deprecated climate constants ( #106096 )
2023-12-21 00:00:21 +01:00
Michael
a1614d6b7e
Add significant Change support for climate ( #106020 )
2023-12-19 12:30:30 +01:00
Erik Montnemery
104bcc64b7
Allow inheriting base component entity descriptions in frozen dataclasses ( #105512 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-15 23:33:50 -10:00
Michael Hansen
431a44ab67
Add name slot to HassClimateGetTemperature intent ( #105585 )
2023-12-12 22:54:15 -05:00
Michael Hansen
71268bd407
Add HassClimateGetTemperature intent ( #102831 )
2023-11-25 14:50:44 +01:00
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
Jan Rieger
74a57e8676
Use more common translations ( #100135 )
2023-09-12 19:44:31 +02:00
James Smith
f24c4ceab6
Enable strict typing for Climate component ( #99301 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-06 17:55:41 +02:00
J. Nick Koston
57c640c83c
Reduce attribute lookups in climate needed to write state ( #97145 )
2023-07-24 16:58:26 +02:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum ( #97101 )
2023-07-23 23:19:24 +02:00
Joost Lekkerkerker
b367c95c81
Add more common translations ( #96429 )
...
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof
2330af82a5
Migrate climate services to support translations ( #96314 )
...
* Migrate climate services to support translations
* Apply suggestions from code review
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
---------
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-11 23:17:09 +02:00
Erik Montnemery
86a397720f
Move platform_integration_no_support issue to the homeassistant integration ( #95927 )
...
* Move platform_integration_no_support issue to the homeassistant integration
* Update test
* Improve repair text
* Update test
2023-07-07 13:31:54 +02:00
Jan Bouwhuis
c26dc0940c
Use common translations for `On`, `Off`, `Open` and `Closed` ( #95779 )
...
* Use common translations for On and Off
* Used common translations for open and closed
* Update homeassistant/components/sensibo/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Only update state translations
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-04 13:52:01 +02:00
Jan Bouwhuis
8b563120b5
Add comment for assumed trigger_type ( #95432 )
...
* Add comment for assumed tigger_type
* Update homeassistant/components/climate/device_trigger.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-06-28 12:22:56 +02:00
Franck Nijhof
d7b7deb95f
Improve climate turn_on service ( #94645 )
2023-06-27 20:17:13 +02:00