* 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>
* 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%
* 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>
* 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.