23 Commits

Author SHA1 Message Date
Vincent Le Bourlot
3498625de7
Add display switch to fan devices. (#32)
* Improve night_light feature discovery

* add display switch to fans

* revert night_light removal from humidifier

* Improve switch detection

* Update light.py

* fix style
2022-07-11 12:02:53 +02:00
Vincent Le Bourlot
cdbb0b8294
Add warm mist number entity to compatible devices (600S) (#29)
* add warm mist number entity

* fix typos.

* Rename to warm mist.
2022-07-04 10:23:26 +02:00
Vincent Le Bourlot
93bc998342
Fix fan extra attributes 2022-06-09 10:44:36 +02:00
Vincent Le Bourlot
d10928ecca
Remove local pyvesync lib and migrate to public one. (#25)
* move to pip pyvesync library

* remove pyvesync

* improve extra attributes

* fix style
2022-06-08 11:08:19 +02:00
Vincent Le Bourlot
4f3c7fd36f
Add current_humidity attribute (#24)
* Add current_humidity attribute

* fix linter

* ignore brand in validate

* same

* improve extra attributes
2022-06-04 18:59:00 +02:00
Vincent Le Bourlot
c0b9adc723
fix an unused parameter. 2022-05-26 10:52:14 +02:00
vlebourl
dbfc03fcaf add trunk linting. 2022-04-29 11:38:08 +02:00
Vincent Le Bourlot
0afbef7f11
Fix/fix fan discovery (#21)
* added LAP-C601S-WUS (Core 600s Air Purifier)

* fix style

* better fix to diagnostic.

* fix preset mode

* add a log line.

* add another debug log

* add some missing fan devices.

* auto discover preset_modes

* auto discover fan speed range

* fix fan speed and preset modes

* fix fan speed number

* add some debug log.

* merge fix from main

* rename a key in diagnostics.
2022-04-27 21:37:40 +02:00
Vincent Le Bourlot
a87ff4cf29
Fix bug in init preventing some discovery (#22) 2022-04-27 20:45:41 +02:00
vlebourl
565321b1c2 fix manifest 2022-04-26 16:26:24 +02:00
vlebourl
d9056f7f12 fix diagnostics. 2022-04-26 15:22:02 +02:00
Vincent Le Bourlot
72245c95c3
bump version. 2022-04-26 10:17:42 +02:00
Vincent Le Bourlot
52b67ecb86
add diagnostics (#20) 2022-04-26 09:58:06 +02:00
Brian Orpin
35370cbcae
Add Warm Mist attributes (#13)
* Add Warm Mist attributes

These could possibly be added as sensor entities in their own right.

I cannot test them but there was a comment by someone on the original PR about this.

Ideally, I suggest, these should be number and binary entities as well but I was going to check the attributes appeared first.

* fix style

Co-authored-by: Vincent Le Bourlot <vlebourl@gmail.com>
2022-04-08 15:46:42 +02:00
sourcery-ai[bot]
616f0db5ce
Add else condition if API call returns none (Sourcery refactored) (#12)
* Add else condition if API call returns none

I was getting exceptions when the API call returned none.

* 'Refactored by Sourcery'

Co-authored-by: Brian Orpin <brian.orpin@gmail.com>
Co-authored-by: Sourcery AI <>
2022-04-07 17:13:33 +02:00
vlebourl
ee1e7e7496 Fix circular dependency 2022-04-07 17:11:38 +02:00
Vincent Le Bourlot
00d4d5a846
improve consts and mode naming. (#14) 2022-04-03 23:22:01 +02:00
Vincent Le Bourlot
fab77a025a
Refactor code. (#10) 2022-04-03 20:29:00 +02:00
Vincent Le Bourlot
dde8644627
Cherry pick from webdjoe/pyvesync (#8)
Include fix https://github.com/webdjoe/pyvesync/blob/humid-bug-fix/src/pyvesync/vesyncfan.py
2022-04-03 20:16:01 +02:00
Vincent Le Bourlot
d2f06b0607
fix mode selection and display for humidifier Dual 200S (#2) 2022-04-01 16:49:02 +02:00
Vincent Le Bourlot
f36fc12a73
add dhcp autodiscovery for levoit-* (#1) 2022-04-01 15:50:18 +02:00
vlebourl
6ee2c3f5dc fix ignored files 2022-04-01 15:19:35 +02:00
vlebourl
79938b9f19 first commit 2022-04-01 15:02:13 +02:00