Commit graph

172 commits

Author SHA1 Message Date
epenet
2c7d0b8909
Initialise coordinator with config_entry in components (part 1) (#128080) 2024-10-29 16:18:04 +01:00
Christopher Fenner
144454b8c3
Remove duplicate oauth2 token validity check (#128419)
* remove duplicate validity check

* Apply suggestions from code review

* add leftover

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-16 11:42:44 +02:00
Julian
e273148a89
Fix translation string in lyric (#128386)
* Fix translation string in lyric

* Remove ignore_translations from lyric config_flow test
2024-10-15 22:10:56 +02:00
Numa Perez
8410c142ab
Fix Auto mode for TCC devices like the Lyric Round (#126091) 2024-09-23 14:31:55 +02:00
epenet
acd3b2d732
Move lyric base entity to separate module (#126493) 2024-09-23 12:47:39 +02:00
Kristof Mattei
300445948e
Fix Lyric climate Auto mode (#123490)
fix: Lyric has an actual "Auto" mode that is exposed if the device has an Auto mode.
2024-09-10 17:06:25 +02:00
Ryan Mattson
ccbc300b68
Lyric: fixed missed snake case conversions (#125382)
fixed missed snake case conversions
2024-09-06 11:45:39 +02:00
Erik Montnemery
cffa8b4feb
Update icons.json to new service schema part 2 (#124769) 2024-08-28 13:47:41 +02:00
Ryan Mattson
df58068e84
Update aiolyric to 2.0.1 (#123424)
update aiolyric to 2.0.1
2024-08-18 20:05:30 +02:00
Ryan Mattson
db238a75e3
Lyric: Properly tie room accessories to the data coordinator (#115902)
* properly tie lyric accessories to the data coordinator so sensors recieve updates

* only check for accessories for LCC devices

* revert: meant to give it its own branch and PR
2024-08-02 15:13:56 +02:00
Marc Mueller
3a5acd6a57
Use VolDictType for service schemas (#120403) 2024-06-25 12:33:41 +02:00
Ryan Mattson
f1759982ad
Lyric: Only pull priority rooms when its an LCC device (#116876) 2024-06-22 10:48:02 +02:00
Ryan Mattson
05c37648c4
Add support for room sensor accessories assigned to a Honeywell (Lyric) Thermostat (#104343)
* Add support for room sensor accessories.

- Update coordinator to refresh and grab information about room sensor accessories assigned to a thermostat
- Add sensor entities for room humidity and room temperature
- Add devices to the registry for each room accessory
- "via_device" these entities through the assigned thermostat.

* fixed pre-commit issues.

* PR suggestions

- update docstring to reflect ownership by thermostat
- fixed potential issue where a sensor would not be added if its temperature value was 0

* fix bad github merge

* asyicio.gather futures for updating theromstat room stats
2024-04-18 20:50:11 +02:00
Sid
6587ee20db
Enable Ruff TRY300 (#114437)
* Enable Ruff TRY300

* Update validation.py

* Address review comments
2024-03-30 10:37:59 +01:00
Joost Lekkerkerker
05172d8e4d
Improve loops and lists (#113269)
* Enable PERF

* Enable PERF rule

* Enable PERF rule

* Don't enable flag yet
2024-03-14 10:22:20 +01:00
Joost Lekkerkerker
595d07f1c6
Improve lists in integrations [L-M] (#113227)
* Improve lists in integrations [L-M]

* Update homeassistant/components/mailbox/__init__.py

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* Fix

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-13 21:28:21 +01:00
Joost Lekkerkerker
0d68c27985
Remove entity description mixin in Honeywell Lyric (#112903) 2024-03-11 11:48:44 +01:00
Marc Mueller
59a6035d3f
Add empty line after module docstring [j-m] (#112700) 2024-03-08 09:01:29 -05:00
Joost Lekkerkerker
8bbfb6cc55
Add icon translations to Lyric (#111902)
Use default icon for Lyric
2024-03-01 13:42:42 +01:00
Erik Montnemery
52e7912caf
Migrate integrations i-m to generic flowhandler (#111863) 2024-02-29 20:08:46 +01:00
G Johansson
8ef2bece59
Add new climate feature flags to lyric (#109571) 2024-02-04 15:03:48 +01:00
Numa Perez
5d8bf86279
Fix lyric TCC set temperature when in Auto mode (#106853) 2024-01-14 11:29:03 +01:00
Numa Perez
75ba879c34
Fix autoChangeoverActive for lyric LCC devices (#106925) 2024-01-14 11:27:48 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Alex Thompson
4c0fda9ca0
Fix Lyric LCC thermostats auto mode (#104853) 2023-12-11 16:27:02 +01:00
Alex Thompson
23cd66c54b
Fix Lyric HVAC mode reset on temperature change (#104910)
* Fix Lyric HVAC mode reset on temperature change

* Reduce code duplication

* Revert additional bugfix

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-12-03 22:13:26 +01:00
Jan Bouwhuis
f94167a4bb
Fix invalid oauth2_unauthorized translation ref (#103873)
* Fix invalids oauth2_unauthorized translation ref

* Fix oauth2_failed
2023-11-12 21:13:38 +01:00
Allen Porter
787fb3b954
Improve OAuth error handling in configuration flows (#103157)
* Improve OAuth error handling in configuration flows

* Update strings for all integrations that use oauth2 config flow

* Remove invalid_auth strings

* Revert change to release

* Revert close change in aiohttp mock
2023-11-11 11:02:51 +01:00
Joost Lekkerkerker
f01c71e514
Fix lyric feedback (#100586) 2023-09-19 11:40:05 +02:00
Joost Lekkerkerker
ec6c374761
Clean up lyric sensor platform (#100495)
* Clean up lyric sensor platform

* Clean up lyric sensor platform

* Clean up lyric sensor platform

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

* Update homeassistant/components/lyric/sensor.py

Co-authored-by: Aidan Timson <aidan@timmo.dev>

---------

Co-authored-by: Aidan Timson <aidan@timmo.dev>
2023-09-18 12:42:31 +02:00
Jieyu Yan
81af45347f
Add fan modes in Lyric integration (#100420)
* Add fan modes in Lyric integration

* add fan_mode only when available

* move supported_features to init

* mapped fan_modes to built-in modes

* log KeyError for fan_modes
2023-09-16 20:58:00 +02:00
Joost Lekkerkerker
cab0bde37b
Use shorthand attributes in Lyric (#99593) 2023-09-04 15:05:33 +02:00
Joost Lekkerkerker
5a835e703f
Add entity translations to Honeywell Lyric (#98775) 2023-08-21 22:28:20 +02:00
Luca Leonardo Scorcia
9be532cea9
Fix inconsistent lyric temperature unit (#98457) 2023-08-18 10:52:22 +02:00
dalinicus
45966069b4
Bump aiolyric to 1.1.0 (#98113)
version bump aiolyric to include new features for additional room sensors
2023-08-16 08:15:28 +02:00
Marc Mueller
71d985e4d6
Use asyncio.timeout [i-n] (#98450) 2023-08-15 14:32:15 +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
Franck Nijhof
0329378f2f
Migrate integration services (L-M) to support translations (#96374) 2023-07-12 00:24:16 +02:00
G Johansson
c60e53b43f
Remove left-over issue in Honeywell Lyric (#94092) 2023-06-06 20:54:09 -04:00
G Johansson
d66305ddd3
Remove dlink yaml import (#92590) 2023-05-07 00:01:58 +02:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 (#87027) 2023-02-08 20:38:43 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
3d557b5583
Collection of code styling tweaks (#87381) 2023-02-04 12:52:26 -05:00
Franck Nijhof
3b5fd4bd06
Enable Ruff TRY004 (#86811) 2023-01-30 14:06:52 +01:00
GitHub Action
f2df72e014 [ci skip] Translation update 2023-01-10 00:25:07 +00:00
Marc Mueller
b01efc55a2
Improve lyric generic typing (#84637) 2022-12-27 21:24:33 +01:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 (#84394) 2022-12-22 13:35:47 +01:00
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
Aidan Timson
766c2f8bb4
Update aiolyric to 1.0.9 (#83190) 2022-12-03 14:26:21 -07:00
GitHub Action
0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00