Commit graph

83 commits

Author SHA1 Message Date
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 (#115735) 2024-05-06 20:33:26 +02:00
mkmer
2132b170f2
Update unique_id to string in Honeywell (#116726)
* Update unique_id to string

* Update homeassistant/components/honeywell/climate.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/honeywell/climate.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/honeywell/climate.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Add typing for devices

* Add tests

* Use methods to verify unique_id

* Update tests/components/honeywell/test_climate.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-05-04 14:18:50 +02:00
mkmer
28da10ad0d
Handle connection error in honeywell (#108168)
* Handle connection error

* Catch connection error

* Add tests

* Add translation strings

* Clean up overlapping exceptions

* ServiceValidationError

* HomeAssistant Error translations

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-18 13:53:32 +02:00
mkmer
7f8341e03a
Deprecate aux heat from Honeywell (#114110)
* Remove aux heat

* Add switch entity for emheat

* Optimized async_setup_entry

* Fix errors in comments

* Fix new ruff failuer

* Use constant for EM

* Protect EM mode - must be in heat to turn on/off

* Restore aux_heat

* Add repair issue

* Add missing place holder to issue

* Better placeholder "option"
2024-04-06 17:22:56 +02:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
mkmer
23cf418807
Allow EM Setpoint in Honeywell (#111332)
Add emheat setpoint
2024-02-25 14:40:08 +01:00
mkmer
168657b724
Catch APIRateLimit in Honeywell (#107806) 2024-02-08 10:51:20 +01:00
Marc Mueller
7a89e58873
Use builtin TimeoutError [e-i] (#109679) 2024-02-05 12:00:37 +01:00
G Johansson
0b3f4f1720
Add new climate feature flags to honeywell (#109556)
Adds new climate feature flags to honeywell
2024-02-04 10:41:07 +01:00
mkmer
f3b1f47d34
Return PRESET_NONE in Honeywell (#108599)
* Return PRESET_NONE

* format preset_hold

* Address Hold in tests

* Add translations
2024-01-23 15:57:55 +01:00
mkmer
fc349b0875
Missing exception on relogin in Honeywell (#106324)
Missing exception on relogin
2023-12-23 21:11:51 -05:00
mkmer
061c144fe8
Correct logic in honeywell for cleaning up stale devices (#106018)
* code quality fixes

* remove unnecessary code

* Remove comment

* change config entry configuration order

* update based on aladdin connect pr
2023-12-19 07:58:35 +01:00
mkmer
595663778c
Bump aiosomecomfort to 0.0.24 (#104649)
* Bump aiosomecomfort to 0.0.24

* PascalCase change
2023-11-28 19:34:30 +01:00
mkmer
56f2f17ed1
Bump aiosomecomfort to 0.0.23 (#104641) 2023-11-28 15:51:47 +01:00
mkmer
0eb8daee23
Refactor async_update in Honeywell (#103069)
* Refactor async_update

* remove ignore-import

* Restore somecomforterror rather than autherror

* Update climate.py

Limit exceptions in async_update()

* Update climate.py

Ruff it

* Update climate.py

Ruff

* Refactor to login routine

* Add back avialable change

* Address extra logic in try

* Address expected returns with logic move
2023-11-19 10:41:17 +01:00
mkmer
4a93465e85
Catch unexpected response in Honeywell (#103169)
catch unexpected response
2023-11-01 15:41:41 +01:00
mkmer
92ec525de1
Add retry before unavailable to Honeywell (#101702)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-30 15:16:41 +01:00
mkmer
c265d3f3cc
Late review for honeywell (#100299)
* Late review for honeywell

* Actually test same id different domain

* Update homeassistant/components/honeywell/climate.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update climate.py

* Refactor dont_remove

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-14 06:22:28 +02:00
mkmer
693a271e40
Clean up device registry for climate devices that no longer exist in Honeywell (#100072) 2023-09-12 20:29:47 +02:00
mkmer
59e87c0864
Raise HomeAssistantError/ValueError for service calls in Honeywell (#100041) 2023-09-10 15:58:59 +02:00
mkmer
f2c475cf1b
Bump aiosomecomfort to 0.0.17 (#98978)
* Clean up imports
Add refresh after login in update

* Bump somecomfort 0.0.17
Separate Somecomfort error to unauthorized

* Add tests

* Run Black format
2023-08-24 21:13:42 +02:00
mkmer
3e1d2a1000
Handle missing keys in Honeywell (#98392) 2023-08-16 18:59:34 +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
7eb26cb9c9
Fix explicit device naming for integrations a-j (#95619)
Fix explicit device naming for a-j
2023-06-30 11:33:50 -04:00
mkmer
799080eb00
Don't reload integration for AuthError in Honeywell (#91228) 2023-04-17 14:55:52 +02:00
mkmer
6aa1460143
Add tests to honeywell (#87209)
* lower case aiosomecomfort

* add tests

* Test updates for 0.0.6

* lower case aiosomecomfort

* Missing changes after merge

* Add missing type hints

* Fix tests for PR#89393

* Test hold on when setting temperature

* Remove unnecessary init function

* Remove unnecessary assert

* Address missing tests
Cleanup related to comments for EM

* Move to snapshot for static test

* Updated snapshot

* Remove unnecessary assert
2023-04-12 20:34:32 +02:00
mkmer
3d426e1e2b
Handle Uncaught exceptions in async_update Honeywell (#90746) 2023-04-06 10:44:13 +02:00
mkmer
5c768c3f89
Bump aiosomecomfort to 0.0.14 (#89393) 2023-03-08 22:02:18 +01:00
mkmer
54de16875d
Bump Aiosomecomfort to 0.0.11 (#88970) 2023-03-01 16:19:46 +01:00
mkmer
d46bbcf5a3
Bump aiosomecomfort to 0.0.8 (#88195)
* Update is_aux_heat in runtime

* Fix merge mistake

* Merge fixes 2.0

* Bump aiosomecomfort to 0.0.8
2023-02-16 13:54:26 -05:00
mkmer
e9c10de9a9
Bump AIOSomecomfort to 0.0.6 (#87203)
* Bump to 0.0.5

* Bump aiosomecomfort to 0.0.6

* lower case aiosomecomfort

* Fix other bad imports....

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-02 16:45:49 -05:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
mkmer
ee30f5afcc
Honeywell Correct key name (#87018)
* Correct key name

* Logic error around setpoint and auto mode

* Set tempurature and setpoints correctly

* Only high/low in auto.
2023-01-31 12:59:06 -05:00
mkmer
365ce55d77
Honeywell auto mode invalid attribute (#86728)
fixes undefined
2023-01-31 00:04:00 +01:00
mkmer
7368c86ecb
Add Reauth config flow to honeywell (#86170) 2023-01-30 13:57:14 +01:00
mkmer
6ea234ed57
Add DeviceInfo to Honeywell (#86179)
* Add DeviceInfo
Add has_entity_name

* has_entity_name to class attribute

* Update homeassistant/components/honeywell/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/honeywell/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-01-26 13:28:36 +01:00
mkmer
a0810053f1
Bump AIOSomecomfort to 0.0.3 (#86371)
fixes undefined
2023-01-22 17:25:27 +01:00
mkmer
5306883288
Fix Honeywell unavailable state on connection lost (#86312)
* Fix for Issue 62957

* Cleanup exception test

* rework connection error retry logic

* Refactor HoneywellData class

* move _atr_available to correct location

* await create_task
2023-01-21 20:28:05 +01:00
mkmer
402be4ebde
Fix preset modes in Honeywell (#86293)
* Fix for issue #83841

* in instead of =

* Address None for entity maps

* Rework retry logic

* Committed to the wrong branch....
This reverts commit 40e19407a3 (Rework retry logic, 2023-01-21).

* Remove none, change log wording
2023-01-21 20:21:03 +01:00
mkmer
7f4a727e10
Address Honeywell late review (#86202) 2023-01-20 20:30:48 +01:00
mkmer
5e6ba594aa
Change Honeywell somecomfort API to AIOSomecomfort API (#86102)
* Move to AIOSomecomfort

* Remove unused constant

* Improve test coverage to 100

* Update homeassistant/components/honeywell/__init__.py

remove "todo" from code

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

* Missing cannot_connect translation

* add asyncio errors
update devices per entity
rework retry login

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-01-18 16:03:13 +01:00
epenet
68e454712d
Use UnitOfTemperature in climate entities [g-l] (#83127)
* Use UnitOfTemperature in climate entities [g-l]

* Adjust gree

* Adjust honeywell
2022-12-05 10:42:24 +01:00
epenet
ec532414ba
Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
epenet
a1374963d1
Improve entity type hints [h] (#77468) 2022-08-30 20:55:01 +02:00
epenet
4e4c745c4f
Adjust setup type hints in honeywell (#72226) 2022-05-22 19:44:11 -07:00
epenet
c4eeeb9674
Use climate enums in honeywell (#70667) 2022-04-25 21:23:08 -10:00
epenet
999e2f3bf0
Use EntityFeature enum in components (h**) (#69403) 2022-04-06 11:59:23 +02:00
epenet
f6ec0a6323
Add type hints to honeywell (#69217) 2022-04-03 22:06:53 +02:00
RDFurman
34ace2e1cd
Honeywell away temps (#54704) 2022-03-24 15:17:36 -10:00
schreyack
3c0369ed59
Fix honeywell hold mode (#65327)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 09:11:09 -08:00