Commit graph

190 commits

Author SHA1 Message Date
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
Jan Bouwhuis
e8475b9b33
Add scaling utils for brightness and fanspeed (#104753)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-12-04 12:10:58 +01:00
cdnninja
ea732349c9
Vesync constant cleanup (#104842) 2023-11-30 22:19:02 +01:00
cdnninja
9447d954d6
Add codeowner to vesync (#104809) 2023-11-30 18:14:22 +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
Mike
1a9c98e837
Add support for Levoit Vital 100S Purifier (#101273)
Add support for Levoit Vital 100S Purifier.
2023-10-02 17:53:54 +02:00
Mike
2a6a2fa842
Update pyvesync to 2.1.10 (#100522)
* Update manifest.json to use pyvesync 2.1.10

* Update Requirements for pyvesync

* Update test_diagnostics.ambr

---------

Co-authored-by: Thibault Cohen <47721+titilambert@users.noreply.github.com>
2023-09-29 09:01:04 +02:00
Mike
15caf2ac03
Add support for Levoit Vital200s purifier (#100613) 2023-09-21 10:53:18 +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
Nick Iacullo
6f8d666b57
Enable the PRESET_MODE FanEntityFeature for VeSync air purifiers (#97657) 2023-08-03 18:30:56 +02:00
c0ffeeca7
ac06905b1c
Rename life to lifetime in vesync (#96844) 2023-07-18 20:36:47 +02:00
Joost Lekkerkerker
e99b6b2a03
Migrate VeSync to has entity name (#96772)
* Migrate VeSync to has entity name

* Fix tests
2023-07-17 17:52:53 +02:00
Franck Nijhof
4edec69637
Migrate integration services (T-V) to support translations (#96379) 2023-07-12 07:37:13 +02:00
Paulus Schoutsen
62ac7973c2
VeSync: use correct device info keys (#95646) 2023-07-01 06:06:27 -04:00
Chuck Deal
09d0128601
Add diagnostics to VeSync (#86350)
* Add diagnostics to VeSync

* Create unit tests for diagnostics and init

* Improved diagnostic test coverage

* Peer review fixes

* Fixed Peer Review comments

* Updated based on Peer Review

* Additional diagnostic redactions

* Removed account_id from diagnostic output
2023-02-28 22:12:48 -05:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
epenet
1b23429f41
Add __init__ return type to integrations (#87637) 2023-02-07 15:55:14 +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
fcb612cd6f
Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
GitHub Action
b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
Franck Nijhof
8819634b61
String formatting and max line length - Part 6 (#84525) 2022-12-24 13:19:51 +01:00
epenet
ebdf9a8658
Use UnitOfEnergy in integrations (o-z) (#84221) 2022-12-19 10:58:37 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
epenet
52d4a358a0
Use UnitOfPower in integrations [s-z] (#83826) 2022-12-12 12:20:16 +01:00
Guido Pio Mariotti
b4b136b43e
Update pyvesync to 2.1.1 (#83146)
Update pyvesync to 2.1.1 to close #70420
2022-12-07 00:42:08 +01:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
GitHub Action
8d28da83ca [ci skip] Translation update 2022-10-05 00:36:50 +00:00
epenet
050cb275ff
Improve entity type hints [v] (#77885) 2022-09-06 13:59:05 +02:00
GitHub Action
bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
epenet
1ba18f8df6
Improve type hints in vesync lights (#75998)
* Improve type hints in vesync lights

* Adjust import
2022-08-03 09:56:13 +02:00
GitHub Action
81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
Ethan Madden
1eb0983fba
Enable air quality sensor for Core300s (#75695) 2022-08-01 17:06:28 +02:00
epenet
11a19c2612
Improve type hints in light [s-z] (#75946) 2022-07-31 13:50:24 +02:00
GitHub Action
a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
Ethan Madden
5defe67269
air_quality and filter_life fixes for Pur131S (#74740) 2022-07-09 19:51:47 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
epenet
3c82c718cb
Improve typing in fans and locks (#73901) 2022-06-23 16:34:40 +02:00
GitHub Action
33c263d09b [ci skip] Translation update 2022-06-23 00:20:13 +00:00
epenet
9ac28d2076
Adjust vesync type hints (#73842) 2022-06-22 21:40:22 +02:00
epenet
6b6e5fad3c
Add missing type hints in fans (#73835) 2022-06-22 18:43:41 +02:00
GitHub Action
4005af99aa [ci skip] Translation update 2022-06-14 00:26:59 +00:00
b3nj1
69050d5942
Add Vesync voltage sensor, and yearly, weekly, montly energy sensors (#72570) 2022-06-09 11:14:18 +02:00
b3nj1
0dc1e7d1e6
Fix VeSync device to match pyvesync type (#73034)
* vesync: change device to match pyvesync type

* MartinHjelmare's suggestion for derived classes

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

* MartinHjelmare's suggestion for derived classes

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

* MartinHjelmare's suggestion for derived classes

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

* MartinHjelmare's suggestion for annotations

* vesync: fix imports

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-08 16:43:24 +02:00
Ethan Madden
8c16ac2e47
Vesync air quality (#72658) 2022-05-30 22:13:53 +02:00
GitHub Action
ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
Ethan Madden
e30a9d1fc0
Fix VeSync air_quality fan attribute (#71771)
* Refactor attribute inclusion for VeSync fans.

A recent change to pyvesync (introduced in 2.2) changed `air_quality` to
refer to air quality as an integer representation of perceived air
quality rather than a direct reading of the PM2.5 sensor. With 2.3 the
PM2.5 sensor access was restored as `air_quality_value`. Unfortunately,
`air_quality_value` was not added as an attribute on the fan object, and
rather only exists in the `details` dictionary on the fan object.

* Update homeassistant/components/vesync/fan.py

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

* Rename `air_quality_value` attribute to `pm25`

This should make it more clear what the attribute actually represents

* `air_quality` attribute reports `air_quality_value`

This restores previous behavior for this integration to what it was
before the `pyvesync==2.02` upgrade, using the `air_quality` attribute
to report pm2.5 concentrations (formerly `air_quality`) rather the
vague measurement now reported by `air_quality`.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-16 10:30:49 +02:00
James Szalay
3717ec8811
Updated vesync component fans list to handle alt ids for models. (#71259)
* Updated vesync component fans list to handle alt ids for models.

* Lint

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-03 12:17:27 -07:00
epenet
9906fd649e
Use ColorMode enum in vesync (#70553) 2022-04-23 10:59:50 -10:00