Commit graph

76 commits

Author SHA1 Message Date
myztillx
6861bbed79
Add ecobee set_sensors_used_in_climate service (#102871)
* Add set_active_sensors Service

* Remove version bump from service addition commit

* Reviewer suggested changes

* Changed naming to be more clear of functionality

* Adjusted additional naming to follow new convention

* Updated to pass failing CI tests

* Fix typo

* Fix to pass CI

* Changed argument from climate_name to preset_mode and changed service error

* Made loop more clear and changed raised error to log msg

* Fix typo

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Removed code that was accidentally added back in and fixed mypy errors

* Add icon for service

* Added sensors as attributes and updated tests

* Revert changes made in #126587

* Added tests for remote_sensors and set_sensors_used_in_climate

* Changed back to load multiplatforms (#126587)

* Check for empty sensor list and negative tests for errors raised

* Added tests and fixed errors

* Add hass to class init to allow for device_registry lookup at startup and check for name changed by user

* Added tests to test the new functions

* Simplified code and fixed testing error for simplification

* Added freeze in test

* Fixed device filtering

* Simplified code section

* Maintains the ability to call `set_sensors_used_in_climate` function even is the user changes the device name from the ecobee app or thermostat without needing to reload home assistant.

* Update tests with new functionality. Changed thermostat identifier to a string, since that is what is provided via the ecobee api

* Changed function parameter

* Search for specific ecobee identifier

* Moved errors to strings.json

* Added test for sensor not on thermostat

* Improved tests and updated device check

* Added attributes to _unrecoreded_attributes

* Changed name to be more clear

* Improve error message and add test for added property

* Renamed variables for clarity

* Added device_id to available_sensors to make it easier on user to find it

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-10-21 16:21:56 +02:00
Jan-Philipp Benecke
d070fd40a3
Use debug/warning instead of info log level in components [e] (#125970) 2024-09-14 23:41:06 +02:00
G Johansson
e58cf00a96
Remove deprecated aux_heat from ecobee (#125246) 2024-09-06 16:18:24 +02:00
Brent Petit
ed0e0eee71
Create auxHeatOnly switch in Ecobee integration (#116323)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-22 16:44:43 +02:00
Gage Benne
c4340f6f5f
Ecobee preset mode icon translations (#116072) 2024-04-24 10:16:35 +02:00
Brent Petit
c9ce848b4b
Add current_humidity to Ecobee humidifier (#114753)
* Ecobee: add current_humidity to humidifier

* Ecobee: Add test for current_humidity property

* Update current_humidity handling in climate and
humidifier entity to support the ecobee API
not returning actualHumidity, which is an optional
value.
Also updated tests to add a thermostat which
covers a non-populated humidity. In passing,
set up the new test thermostat to cover a missing
condition where the code doens't recognize the
ecobee model number. This gets ecobee humidifier
test coverage to 100%
2024-04-05 21:54:40 +02:00
Marc Mueller
11faf4adcb
Replace if in range check (#114107) 2024-03-24 15:20:00 +01:00
alexsydell
9e86f82a1b
Add ecobee indefinite away preset, remove unusable/broken presets (#108636)
* Add ecobee indefinite away preset, remove unusable/broken presets

* Revert cleanup of presets which no longer work
2024-03-22 22:45:54 +01:00
Sid
d5fd005db8
Add ruff rule PIE808 (#113621) 2024-03-17 09:56:26 +01:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] (#112698) 2024-03-08 14:15:26 +01:00
G Johansson
7730efdaa2
Add new climate feature flags to ecobee (#109540)
Adds new climate feature flags to ecobee
2024-02-04 10:28:49 +01:00
myztillx
ba5d10be73
Separate ecobee start and end date/times for create_vacation service (#107255)
Separate start and end time msg and update service string
2024-01-28 11:21:52 +01:00
Marc-Olivier Arsenault
b14a7edb55
Add compWaterHeater to ecobee HVAC actions (#103278) 2023-11-24 18:32:20 +01:00
Robin Li
7014ed3453
Fix ecobee aux_heat_off always returns to HEAT (#100630) 2023-09-20 13:53:05 +02:00
Joost Lekkerkerker
775f815afc
Use shorthand attributes for Ecobee (#99239)
* Use shorthand attributes for Ecobee

* Use shorthand attributes for Ecobee
2023-08-30 12:11:13 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Joost Lekkerkerker
cb9cbdfb28
Add entity translations to ecobee (#95281) 2023-06-26 23:12:48 +02:00
Luke
84763c793d
Support Ecobee climate Aux Heat on/off (#86100)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-20 17:56:03 -06:00
Franck Nijhof
4b27af6a8f
Re-enabled Ruff E713 (#87301) 2023-02-03 16:18:33 +01:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
epenet
44d3f2192c
Use UnitOfTemperature in climate entities [a-f] (#83125) 2022-12-04 11:53:56 +02:00
epenet
39ac2c1101
Adjust type hints for ClimateEntityFeature (#82206) 2022-11-16 21:17:50 +01:00
epenet
24c26dc032
Use unit_conversion in components (#79204)
* Use unit_conversion in components

* Two more
2022-09-28 16:05:31 +02:00
epenet
ec532414ba
Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
epenet
6693cfd036
Improve type hint in ecobee climate entity (#77133) 2022-08-22 13:27:36 +02:00
epenet
3a3f41f3df
Improve entity type hints [e] (#77041) 2022-08-20 07:52:55 +02:00
epenet
7b1d5fb10a
Use climate enums in ecobee (#70632) 2022-04-25 13:19:54 +02:00
epenet
78045df227
Use EntityFeature enum in components (e**) (#69384) 2022-04-06 11:03:29 +02:00
Josh Soref
2a7c808d38
spelling: components/ecobee (#64255)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 15:28:45 +01:00
epenet
06ebbb7cae
Add climate setup type hints [a-l] (#63278)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:26:32 +01:00
epenet
656d383ba6
Ensure service calls are typed [e-g] (#62912)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +01:00
Brent Petit
6b9fb4bda3
Clean up rounding in Ecobee integration (#56319) 2021-10-26 07:37:43 -04:00
Robert Hillis
12c067970a
Use DeviceInfo Class E (#58230) 2021-10-23 11:44:51 +02:00
Marc Mueller
48bada5a18
Update pylint to 2.11.1 (#56364) 2021-09-18 13:52:59 +02:00
Brent Petit
016ba39dfb
Ecobee logging cleanup (#51754) 2021-06-17 10:59:13 +02:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere (#50034) 2021-05-03 09:34:28 -07:00
jjlawren
523a71ac20
Set temperature precision for Ecobee climate entities to tenths (#48697) 2021-04-19 17:41:30 -07:00
Brent Petit
080c89c761
Only set fan state in ecobee set_fan_mode service (#48086) 2021-04-18 22:35:03 +02:00
Marc Mueller
91df3fa904
Update typing 06 (#48039) 2021-03-17 23:49:01 +01:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() (#47756) 2021-03-11 16:51:03 +01:00
Mark Coombes
960b5b7d86
Fix climate hold bug in ecobee (#46613) 2021-02-16 07:06:20 -10:00
Jamin Collins
3b184ad11c
Implement support for additional ecobee hold modes (#40520)
* useEndTime2hour   - 2 hours
* useEndTime4hour   - 4 hours
* indefinite        - Until I change it

These changes have been tested with an ecobee3 lite running firmware
version 4.5.81.200

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2021-01-07 18:09:22 -10:00
treylok
1ca99c4fa4
Add ecobee humidity attributes (#44366)
* Update humidity attributes.

* Update climate.py

* Raise ValueError

* Update conditions for humidity controls to show

Humidity controls only show when the humidifier mode is in "manual" mode.
2020-12-21 20:03:26 +01:00
treylok
180491f8cd
Fix Ecobee set humidity (#43954) 2020-12-05 14:13:46 +01:00
springstan
a2c3c33b22
Use core GitHub URL in all files (#41089) 2020-10-03 00:04:11 +02:00
Yehuda Davis
bd3f075060
Add Ecobee services (#38749)
Enable/disable automatic daylight savings time
Enable/disable the Alexa mic on the Ecobee 4
Enable/disable Smart Home/Away and follow me modes
2020-08-11 10:31:38 +02:00
Paulus Schoutsen
e33a3bb94a
Stub out ecobee aux heat services (#37423) 2020-07-03 21:04:13 +02:00
Franck Nijhof
4cf186a47e
Small collection of random styling tweaks, fixes and Pythonism (#35390) 2020-05-09 00:10:17 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity (#34591) 2020-04-25 18:04:03 +02:00
Paulus Schoutsen
a9908f0a94
Ecobee to use HVAC mode heat-cool instead of auto (#34193) 2020-04-14 09:56:50 +02:00