Add Support for VeSync Devices - Outlets and Switches (#24953)
* Change dependency to pyvesync-v2 for vesync switch * async vesync component * FInish data_entry_flow * Update config flow * strings.json * Minor fix * Syntax fix * Minor Fixs * UI Fix * Minor Correct * Debug lines * fix device dictionaries * Light switch fix * Cleanup * pylint fixes * Hassfest and setup scripts * Flake8 fixes * Add vesync light platform * Fix typo * Update Devices Service * Fix update devices service * Add initial test * Add Config Flow Tests * Remove Extra Platforms * Fix requirements * Update pypi package * Add login to config_flow Avoid setting up component if login credentials are invalid * Fix variable import * Update config_flow.py * Update config_flow.py * Put VS object into hass.data instead of config entry * Update __init__.py * Handle Login Error * Fix invalid login error * Fix typo * Remove line * PEP fixes * Fix change requests * Fix typo * Update __init__.py * Update switch.py * Flake8 fix * Update test requirements * Fix permission * Address change requests * Address change requests * Fix device discovery indent, add MockConfigEntry * Fix vesynclightswitch classs * Remove active time attribute * Remove time_zone, grammar check
This commit is contained in:
1 parent
738d00fb05
commit
a8ec826ef7
17 files changed
+444
-76
No files matched your search
@@ -0,0 +1,9 @@
|
||||
"""Constants for VeSync Component."""
|
||||
|
||||
DOMAIN = 'vesync'
|
||||
VS_DISPATCHERS = 'vesync_dispatchers'
|
||||
VS_DISCOVERY = 'vesync_discovery_{}'
|
||||
SERVICE_UPDATE_DEVS = 'update_devices'
|
||||
|
||||
VS_SWITCHES = 'switches'
|
||||
VS_MANAGER = 'manager'
|
||||
Reference in new issue
Block a user