Marc-Olivier Arsenault
0e23d0439b
Add ecobee ventilator 20 min timer ( #115969 )
...
* add 20 min timer Ecobee
* modify local value with estimated time
* add ecobee test switch
* removed manual setting of data
* Add no throttle updates
* add more test cases
* move timezone calculation in update function
* update attribute based on feedback
* use timezone for time comparaison
* add location data to tests
* remove is_on function
* update python-ecobee-api lib
* remove uncessary checks
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-03 02:08:25 +02:00
Gage Benne
c4340f6f5f
Ecobee preset mode icon translations ( #116072 )
2024-04-24 10:16:35 +02:00
Jan Bouwhuis
8d2813fb8b
Migrate legacy Ecobee notify service ( #115592 )
...
* Migrate legacy Ecobee notify service
* Correct comment
* Update homeassistant/components/ecobee/notify.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Use version to check latest entry being used
* Use 6 months of deprecation
* Add repair flow tests
* Only allow migrate_notify fix flow
* Simplify repair flow
* Use ecobee data to refrence entry
* Make entry attrubute puiblic
* Use hass.data ro retrieve entry.
* Only register issue when legacy service when it is use
* Remove backslash
* Use ws_client.send_json_auto_id
* Cleanup
* Import domain from notify integration
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update dependencies
* Use Issue_registry fixture
* remove `update_before_add` flag
* Update homeassistant/components/ecobee/notify.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/ecobee/notify.py
* Update tests/components/ecobee/conftest.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Fix typo and import
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-23 22:53:13 +02:00
Jan Bouwhuis
d9dada4fb3
Remove condition from ecobee humidifier attribute test ( #115197 )
...
Remove conditions from ecobee humidifier attribute test
2024-04-08 14:33:24 +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
Joost Lekkerkerker
9b41e3d124
Use is in enum comparison in config flow tests A-E ( #114669 )
2024-04-02 11:22:05 -10:00
Sid
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02: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
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
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05: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
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Marc Mueller
544d6b05a5
Replace mock_coro with AsyncMock ( #99014 )
...
* Replace mock_coro with AsyncMock
* Remove mock_coro test helper function
* Remove redundant AsyncMock
2023-08-25 22:54:55 +02:00
Joost Lekkerkerker
cb9cbdfb28
Add entity translations to ecobee ( #95281 )
2023-06-26 23:12:48 +02:00
epenet
a0f725dfcb
Add type hints to tests ( #89497 )
2023-03-10 12:06:50 +01:00
epenet
3f11fbfda8
Use load_json_object in ecobee ( #88584 )
...
* Use load_json_object in ecobee
* Adjust tests
2023-02-22 13:58:07 +01: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
epenet
728f62b1ec
Add type hints to integration tests (part 5) ( #87850 )
2023-02-12 19:39:48 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
Marc-Olivier Arsenault
fe9f6823c3
Add ecobee ventilator ( #83645 )
...
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 07:54:23 -06:00
epenet
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Franck Nijhof
c56832bb2c
Enable Ruff SIM300 ( #86793 )
2023-01-30 11:03:23 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Franck Nijhof
79b52a2b41
Stricter pylint message control ( #86154 )
2023-01-20 13:47:55 +01:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
epenet
fe747601ff
Cleanup DeviceClass and StateClass in tests ( #78811 )
2022-09-20 10:49:11 -04:00
epenet
7bc2712142
Adjust root-import in tests ( #78761 )
...
* Adjust root-import in tests
* Adjust diagnostics
* Adjust button
* Adjust select
* Adjust device_tracker
* Adjust camera
* Adjust humidifier
* Adjust media_source
* Adjust update
* Adjust siren
* Adjust number
* Adjust alarm_control_panel
* Adjust notify
* Adjust sensor
* Adjust switch
* Revert anthemav
* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +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
Paulus Schoutsen
31153ac155
Move fixtures part 1 ( #58902 )
2021-11-01 20:47:05 -07:00
Brent Petit
6b9fb4bda3
Clean up rounding in Ecobee integration ( #56319 )
2021-10-26 07:37:43 -04:00
Ville Skyttä
8bc1509afa
Use HTTPStatus instead of HTTP_ consts and magic values in comp.../[de]* ( #57990 )
2021-10-22 16:28:56 +02:00
Brent Petit
c149ecf2cc
Handle disconnected ecobee thermostat in humidifier and remote sensors ( #51873 )
2021-06-18 09:06:31 +02:00
Brent Petit
016ba39dfb
Ecobee logging cleanup ( #51754 )
2021-06-17 10:59:13 +02:00
Brent Petit
5cc31a98e2
Add Ecobee humidifier device_info and unique_id ( #51504 )
...
* Add Ecobee humidifier device_info and unique_id
Ecobee humidifier entity was not connected to the thermostat device.
This change will ensure the entitiy is properly connected.
This change also fills out the ecobee-data.json fixutre data a bit
to address failures in the test setup.
* Add Ecobee humidifier device_info and unique_id
Adjust test fixture data to increase pytest coverage
Clean up indenting in ecobee-data.json
* Add Ecobee humidifier device_info and unique_id
Update exception case in device_info to not
be included in codecov tests. This case has
been tested locally.
* Add Ecobee humidifier device_info and unique_id
Address pylint issue
* Add Ecobee humidifier device_info and unique_id
Remove no cover pragma and add ecobee humidifier.py to
.coveragerc
2021-06-11 17:39:57 +02: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
treylok
7256e333e4
Add Ecobee humidifier ( #45003 )
2021-04-12 23:44:13 +02:00
Franck Nijhof
5a2b5fe7c5
Yoda assertion style removed is ( #48142 )
2021-03-20 13:55:10 +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
Adrian Suwała
246ad8dba9
Rewrite ecobee unittest tests to pytest ( #42584 )
2020-11-16 11:54:51 +01:00
scheric
0a3db42d61
Use common strings in Ecobee config flow ( #41257 )
...
* Update common Strings
* one_instance_only -> single_instance_allowed
2020-10-05 13:53:11 +02:00
Paulus Schoutsen
a9908f0a94
Ecobee to use HVAC mode heat-cool instead of auto ( #34193 )
2020-04-14 09:56:50 +02:00
springstan
9a40d5b7ed
Use HTTP_NOT_FOUND constant ( #33835 )
2020-04-09 00:57:47 +02:00
Bas Nijholt
0d5de6a464
use isort to sort imports according to PEP8 for ecobee ( #29631 )
2019-12-08 22:31:50 +05:30