Commit graph

20 commits

Author SHA1 Message Date
Ethan Madden
8c16ac2e47
Vesync air quality (#72658) 2022-05-30 22:13:53 +02: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
f194f7809b
Use EntityFeature enum in components (v**) (#69465)
* Use EntityFeature enum in vallox

* Use EntityFeature enum in velbus

* Use EntityFeature enum in velux

* Use EntityFeature enum in venstar

* Use EntityFeature enum in vera

* Use EntityFeature enum in verisure

* Use EntityFeature enum in vesync

* Use EntityFeature enum in vicare

* Use EntityFeature enum in vivotek

* Use EntityFeature enum in vizio

* Use EntityFeature enum in vlc

* Use EntityFeature enum in vlc_telnet

* Use EntityFeature enum in volumio
2022-04-07 08:42:18 +02:00
Leonardo Merza
c8b4696ba2
Add vesync 600S support (#69311) 2022-04-05 13:56:26 +02:00
Nikolai Rahimi
42cec38b66
Vesync core400s fan speed (#67672) 2022-03-29 17:02:57 -10:00
J. Nick Koston
723dcbafca
Complete fan speed transition from #59781 (#67743) 2022-03-09 10:38:12 +01:00
Jonathan Keslin
f43c4d51e1
Address late review of VeSync (#63945)
* Fast follow improvements to VeSync

* Apply suggestions to other platforms, use async_on_unload

* Rename dev_list to entities
2022-01-13 00:38:39 +01:00
RefineryX
b3c2ebd9ca
Add support for Levoit Core 300S air purifier to VeSync integration (#62488) 2022-01-07 12:55:39 +01:00
epenet
71cb42f53a
Add fan setup type hints (#63287)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:10:53 +01:00
John Parchem
1b72536119
Add support for Levoit Core 400S air purifier to VeSync integration (#57126) 2021-10-28 19:03:27 -05:00
Marc Mueller
d5116810d4
Use assignment expressions 08 (#57788) 2021-10-17 20:02:42 +02:00
Kevin Anthony
3b3d6e0da5
Add vesync Core200S air purifier (#50216) 2021-05-12 23:02:24 -05:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() (#47760) 2021-03-11 20:16:26 +01:00
J. Nick Koston
0ed0c7c026
Fix backwards compatibility with vesync fans (#45950) 2021-02-19 08:54:40 +01:00
J. Nick Koston
f2b303d509
Implement percentage step sizes for fans (#46512)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-18 21:05:09 -10:00
J. Nick Koston
fdcf1fccf8
Update vesync to use new fan entity model (#45585) 2021-01-28 16:02:38 +01:00
J. Nick Koston
068d1b5eb8
Separate fan speeds into percentages and presets modes (#45407)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: John Carr <john.carr@unrouted.co.uk>
2021-01-27 17:44:36 -06:00
Angelo Gagliano
318096be79
Remove auto from the fan speed modes for VeSync (#40559) 2020-09-25 15:12:47 +02:00
Angelo Gagliano
eb7742ea7c
Add support for VeSync Fans (#36132)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-03 21:05:37 -05:00