Commit Graph
21 Commits
Author SHA1 Message Date
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 da2efde354 Set alarm and climate supported features default (#82247) 2022-11-17 10:21:55 +01:00
epenet ec532414ba Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
epenet 23090cb8a2 Improve entity type hints [i] (#77529) 2022-08-30 19:21:08 +02:00
epenet 0c401bcab2 Use _attr_temperature_unit in climate entities (#77472) 2022-08-29 10:20:55 +02:00
epenet 2a8109304f Use _attr_should_poll in components [h-i] (#77270) 2022-08-26 10:20:38 +02:00
Nick Dawson 9f15234b92 Add Anywair in IntesisHome (#71686) 2022-06-28 21:48:30 -07:00
epenet 7dbed17602 Use climate enums in intesishome (#70675) 2022-04-26 10:28:29 +02:00
epenet e6d8aa34fa Use EntityFeature enum in components (i**) (#69409) 2022-04-06 21:35:27 -10:00
epenetandepenet 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
Marc Mueller 1ce889be60 Use assignment expressions 36 (#58825) 2021-10-31 18:35:27 +01:00
Marc Mueller c979e89b70 Use assignment expressions 14 (#57939) 2021-10-21 08:26:01 +02:00
Marc Mueller 160571888c Use NamedTuple for intesishome swing settings (#56752) 2021-09-28 16:56:58 -07:00
Erik Montnemery af4d06b12e Update integrations f-i to override extra_state_attributes() (#47757) 2021-03-11 16:57:47 +01:00
4c7e17c5c6 Fix intesishome passing coroutine to HassJob (#43837)
* Update climate.py

Not allowed to pass coroutines to hassjob.

* Update climate.py

* Lint

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-12-03 01:58:10 +01:00
Ville Skyttä b4bac0f7a0 Exception chaining and wrapping improvements (#39320)
* Remove unnecessary exception re-wraps

* Preserve exception chains on re-raise

We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.

The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.

Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.

* Fix mistaken re-wrap in homematicip_cloud/hap.py

Missed the difference between HmipConnectionError and
HmipcConnectionError.

* Do not hide original error on plex new cert validation error

Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
James Nimmo 82b77a8108 Bump to pyIntesishome 1.7.5 (#36562) 2020-06-22 12:56:29 +02:00
Erik Montnemery 29bc93ea98 Rename ClimateDevice to ClimateEntity (#34591) 2020-04-25 18:04:03 +02:00
James Nimmo c00f04221f Add IntesisHome support for air to water heat pumps (#32250)
* Add Intesis support for air to water heat pumps

* Bump to pyIntesisHome 1.7.1

* Fix

* Re-order HVAC modes
2020-03-20 10:17:50 -07:00
Fabian Affolter b832749e3c Fix file permission (#29660) 2019-12-08 18:41:48 +01:00
James Nimmo c78773970b Add IntesisHome Climate Platform (#25364)
* Add IntesisHome Climate Platform

* Add support for IntesisHome and Airconwithme devices

* Implement requested changes from PR review

* Improve error handling for IntesisHome component

* Fix snake-case naming style

* Update exception logging
2019-12-08 15:09:16 +01:00