G Johansson
9d2cf70ba5
Add constant for climate feature flag check ( #121619 )
2024-07-09 21:14:19 +02:00
G Johansson
26bc37195e
Add defrosting as HVACAction in ClimateEntity ( #121448 )
2024-07-07 18:54:40 +02:00
G Johansson
44f989ae38
Fix feature flag in climate ( #121398 )
2024-07-06 23:36:53 +02:00
G Johansson
ac8ea8356c
Fix unnecessary logging of turn on/off feature flags in Climate ( #121387 )
2024-07-06 19:32:27 +02:00
epenet
f65d91f6d2
Refactor PLATFORM_SCHEMA imports in platforms ( #120564 )
2024-06-26 15:44:59 +02:00
karwosts
7ba1e4446c
Fix `for` in climate hvac_mode_changed trigger ( #116455 )
2024-06-21 14:53:28 +02:00
Jan Bouwhuis
66faeb28d7
Fix late group platform registration ( #119789 )
...
* Fix late group platform registration
* use a callback instead
* Run thread safe
* Not working domain filter
* Also update if a group has nested group's
* Only update if the siingle state type key could change
* Avoid redundant regisister hooks
* Use set, add comment
* Revert changes
* Keep callback cleanup const
* Cleanup after dependencies
* Preimport and cleanup excluded domains
* Revert test changes as we assume early set up now
* Migrate alarm_control_panel
* Migrate climate
* Migrate cover
* Migrate device_tracker
* Migrate lock
* Migrate media_player
* Migrate person
* Migrate plant
* Migrate vacuum
* Migrate water_heater
* Remove water_heater group_pre_import
* Use Platform enum if possible
* Also use platform enum for excluded domains
* Set registry to self._registry
* move deregistering call back hook to async_added_to_hass
* Add comment
* Do no pass mutable reference to EXCLUDED_DOMAINS
* Remove unneeded type hint
2024-06-18 20:01:16 +02:00
Matthias Alphart
171707e8b7
Translation support for device automation extra fields ( #115892 )
...
* Translation support for device trigger extra fields
* Move extra_fields translations to backend
2024-06-12 14:10:02 +02:00
Michael Hansen
87114bf19b
Fix exposure checks on some intents ( #118988 )
...
* Check exposure in climate intent
* Check exposure in todo list
* Check exposure for weather
* Check exposure in humidity intents
* Add extra checks to weather tests
* Add more checks to todo intent test
* Move climate intents to async_match_targets
* Update test_intent.py
* Update test_intent.py
* Remove patch
2024-06-06 20:41:25 -05:00
Michael Hansen
2dc49f0410
Add platforms to intent handlers ( #118328 )
2024-05-28 16:46:08 -04:00
Michael Hansen
8079cc0464
Add description to intent handlers and use in LLM helper ( #117864 )
2024-05-21 12:54:34 -04:00
Marc Mueller
bc2ee96cae
Remove quotes surrounding annotations ( #117817 )
2024-05-20 22:06:58 +02:00
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