Michael Hansen
fca19a3ec1
Move climate intent to homeassistant integration ( #139371 )
...
* Move climate intent to homeassistant integration
* Move get temperature intent to intent integration
* Clean up old test
2025-02-28 10:25:38 -05:00
epenet
b7a344fd65
Standardize homeassistant imports in core and base platforms ( #136730 )
...
Standardize homeassistant imports in core
2025-01-28 13:11:48 -05:00
Michael Hansen
b633a0424a
Add HassClimateSetTemperature ( #136484 )
...
* Add HassClimateSetTemperature
* Use single target constraint
2025-01-27 14:18:31 -06:00
Ville Skyttä
40eb8b91cc
Adjust to recommended propcache.api import paths ( #136150 )
2025-01-21 10:58:22 +01:00
G Johansson
c41cf570d3
Remove deprecated supported features warning in ClimateEntity
( #132206 )
...
* Remove deprecated features from ClimateEntity
* Remove not needed tests
* Remove add_to_platform_start
2024-12-05 20:37:17 +01:00
Robert Resch
5c8fb5ec2c
Remove deprecated climate constants ( #131798 )
...
* Remove deprecated climate constants
* Fix
* Fix
* Fix
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-11-29 00:38:05 +01:00
G Johansson
a7db35c76c
Add horizontal swing support to ClimateEntity ( #125578 )
...
* Add horizontal swing support to ClimateEntity
* Fixes + tests
* Fixes
2024-11-27 15:06:46 +01:00
Norbert Rittel
4e22da2a75
Update climate strings for consistent names and descriptions ( #130967 )
2024-11-25 23:05:26 +01:00
Sid
9e98e446a2
Bump ruff to 0.8.0 ( #131273 )
2024-11-22 16:53:26 +01:00
J. Nick Koston
0f29fd3e10
Switch to using fast cached_property implementation in propcache ( #127339 )
2024-10-03 13:11:02 -05:00
G Johansson
c6a1b9fc39
Change Climate set temp action for incorrect feature will raise ( #126692 )
...
* Change Climate set temp action for incorrect feature will raise
* Fix some tests
* Fix review comments
* Fix tesla_fleet
* Fix tests
* Fix review comment
2024-09-25 21:16:14 +02:00
epenet
2699eb62bd
Rename DOMAIN_DATA HassKey constants to DATA_COMPONENT ( #126746 )
...
* Rename DOMAIN_DATA HassKey constant to DATA
* DATA -> DATA_COMPONENT
2024-09-25 15:53:58 +02:00
G Johansson
03bba6d0c3
Climate check target min lower than target high ( #124488 )
...
* Guard target high_temp higher than low_temp in ClimateEntity
* Fixes
* Update string
* Forgot to fix tests
2024-09-24 15:56:30 +02:00
epenet
8b44c16b57
Use HassKey in core components (a-c) ( #126258 )
...
* Use HassKey in conversation
* Use HassKey in assist_satellite
* automation
* More
* Unrelated
* Improve
2024-09-20 12:07:15 +02:00
G Johansson
1caed79895
Validate set_humidity in ClimateEntity ( #125242 )
...
* Implementation validation for set_humidity in ClimateEntity
* Fixes
2024-09-16 10:09:44 +02:00
epenet
88cacbc898
Expose component constants for llm helper ( #125891 )
...
* Expose climate INTENT_GET_TEMPERATURE
* Expose conversation trace items
* More fixes for llm helper
2024-09-13 12:43:37 +02:00
G Johansson
d259e4512b
Improve logging message for validation in climate ( #125837 )
2024-09-12 21:41:00 +02:00
G Johansson
c21ea6b8da
Validate target temp features in Climate Entity ( #125180 )
...
* Validate target temp features in Climate Entity
* Soften
* Break long string
2024-09-12 10:13:19 +02:00
G Johansson
c2d5696b5b
Add validation to climate hvac mode ( #125178 )
...
* Add validation to climate hvac mode
* Make softer
* Remove string
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-08 14:24:12 +02:00
G Johansson
2c0c0b9e21
Extend deprecation of aux_heat in ClimateEntity ( #125360 )
2024-09-05 22:34:35 +02:00
Erik Montnemery
fce2e21c9f
Update icons.json to new service schema part 1 ( #124768 )
2024-08-28 13:47:02 +02:00
Erik Montnemery
ea7e88d000
Pass None instead of empty dict when registering entity services ( #123878 )
2024-08-14 07:04:29 -05:00
G Johansson
a913587eb6
Climate validate temperature(s) out of range ( #118649 )
...
* Climate temperature out of range
* Fix test sensibo
* use temp converting for min/max
* Fix
* Fix mqtt tests
* Fix honeywell tests
* Fix Balboa tests
* Fix whirlpool test
* Fix teslemetry test
* Fix plugwise test
* Fix tplink test
* Fix generic thermostat test
* Fix modbus test
* Fix fritzbox tests
* Honewell
2024-07-31 19:17:53 +02:00
Brent Petit
ba5e3ca44b
Remove use of deprecated set_aux_heat call from climate _async_reproduce_states ( #121873 )
2024-07-19 10:14:12 +02:00
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