Commit graph

47 commits

Author SHA1 Message Date
epenet
10dc38e0ec
Adjust CoverEntity property type hints in components ()
* Adjust CoverEntity property type hints in components

* Revert changes to rflink

* Revert changes to wilight
2022-06-25 11:59:56 +02:00
epenet
a92ab7a669
Adjust CoverEntity function type hints in components ()
Adjust CoverEntity functions in components
2022-06-24 06:40:26 +02:00
Marcel van der Veldt
5fe9e8cb1c
Throttle multiple requests to the velux gateway () 2022-06-05 15:39:42 -10:00
Dimiter Geelen
f06ceef43d
Bump PyVLX to 0.2.20 () 2022-05-30 18:36:01 +02:00
epenet
d00d9a2473
Use ColorMode enum in velux () 2022-04-23 10:02:25 -10:00
epenet
f194f7809b
Use EntityFeature enum in components (v**) ()
* 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
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
epenet
5ddab5a7f2
Add setup type hints to number, remote and scene ()
* Add number setup type hints

* Add remote setup type hints

* Add scene setup type hints

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 17:17:44 +01:00
epenet
7967f49e48
Add light setup type hints [s-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:43:55 +01:00
epenet
1ce75f8e6b
Add cover setup type hints ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:13:18 +01:00
epenet
e7b262f9e5
Add init type hints [v-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:27:12 +01:00
Sebastian Lövdahl
53f4a3d8bc
Use Platform constants all over the place 3/3 () 2021-12-28 21:24:27 +01:00
epenet
05ac2d4c3a
Ensure service calls are typed [v-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 13:12:06 +01:00
Robert Hillis
1568ee67c2
Use enums in velux () 2021-12-16 09:11:22 +01:00
Bram Gerritsen
87e41e807c
Add support for Velux light devices ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-24 15:52:14 +02:00
tkdrob
5d6f4068d3
Add targets and selectors for services (U-W) ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-15 10:49:10 +02:00
tikismoke
90ede05c82
Bump pyvlx to 0.2.19 ()
* Update manifest.json

https://github.com/Julius2342/pyvlx/pull/59#issuecomment-824291298

* Update requirements_all.txt
2021-04-22 22:34:31 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Quentame
198ecb0945
Uniformize platform setup ()
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Paul Daumlechner
48e899ca3a
Add reboot_gateway service to Velux () 2021-01-29 20:07:58 +01:00
Franck Nijhof
26e266181d
Explicitly return None in Velux covers () 2021-01-27 10:17:26 +01:00
Paul Daumlechner
fb527814f9
Add tilt functionality to Velux covers () 2021-01-26 23:19:08 +01:00
Steven Barth
1e87ac7eda
Bump pyvlx to 0.2.18 () 2020-11-06 09:19:27 +01:00
Julius Mittenzwei
ed4ab403de
Upgrade pyvlx to 0.2.17 () 2020-09-17 20:18:55 -05:00
Julius Mittenzwei
59fe5458d0
Bump pyvlx to 0.2.16 () 2020-05-25 08:31:49 +02:00
mnaggatz
cc1951c13d
Use device class constants for velux cover entity ()
* Add support for Velux Gates

* Comment expanded and listing sorted alphabetically.

* There are constants in the cover entity integration for the valid device classes. Import and use those here.

* Blank line deleted

* Reformate code because of "CheckFormat" error

* Import only the names we need instead of the whole module

* Reformate code because of "CheckFormat" error

* isort error
2020-05-25 00:46:31 +02:00
mnaggatz
a5caf8576b
Add support for Velux Gates () 2020-05-23 20:08:02 +02:00
Thomas Schamm
b85bd2cb99
Create a unique_id for velux cover () 2020-04-26 13:54:02 -07:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity () 2020-04-25 18:07:15 +02:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter () 2020-04-20 18:07:50 -07:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
Paulus Schoutsen
aef06a3544
Directly call write state 2 ()
* Directly call async_write_ha_state pt2

* Directly call async_write_ha_state pt2

* Fix mock

* Address comments
2020-04-03 09:34:50 +02:00
Franck Nijhof
a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00
Christian
fd0375ac20 Add support for Velux garage doors ()
* Update manifest.json

* Update cover.py

Add GarageDoor

* Update to pyvlx 0.2.12

* Sort
2019-12-31 15:17:17 +01:00
Quentame
29e2201446 Move velux imports at top-level () 2019-11-25 15:36:37 -08:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
gibman
ed13cab8d6 Disconnect velux on hass stop ()
* velux KLF200 device did not disconnect properly when rebooting the hass device.
disconnect is now being called on the 'EVENT_HOMEASSISTANT_STOP' event

* removed comment

* removed comment

* trigger bot

* trigger bot

* trigger bot

* logging casing fixed. code moved from init.

* logger level debug

logger level moved from info to debug
only config[DOMAIN] exposed to module
imports moved to top

* DOMAIN part of config passed to module.

* removed trailing whitespaces etc.

* black --fast changes

* added missing docstring

* D400 First line should end with a period

* black formatting
2019-09-17 20:22:39 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
gibman
6d280084fb Expose specific device_class for Velux covers ()
* Update cover.py

Blinds, Rollingshutters and Awnings did not set their respective device_class attribute
Previously they would all appear as device_class "window"

* fallback device class is always 'window'

fallback device class is always 'window' in the event we have an unknown cover type

* trailing whitespace removed, trimmed as well

* Update cover.py
2019-06-04 13:17:43 -07:00
Julius Mittenzwei
c0f9ccfdbb Update requirements for pyvlx. () 2019-05-05 19:19:35 +02:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ()
* Add manifests

* Update auto name

* Update codeowners

* Add requirements from platforms

* Minor cleanup

* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ()
* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
2019-03-20 22:56:46 -07:00
Julius Mittenzwei
6f77d9bc34 Don't wait until final position of Velux cover is reached ()
## Description:

* Bump version to latest version of pyvlx: 0.2.10. Library more failure tolerant, when detecting an unsupported device.
* When calling API (e.g. run scene, change position) don't wait until device has reached target position (This caused  HASS to be flaky while the device was moving)
* Support for vertical and horizontal awnings.
2019-03-10 03:47:22 -07:00
Julius Mittenzwei
48e44f4b5b Updated pyvlx from 0.2.8 to 0.2.9. This version has slightly improved logging () 2019-02-23 08:04:32 -05:00
Fabian Affolter
127c55e0c1
Update file header ()
* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ()
* Consolidate all components with platforms

* Organize tests

* Fix more tests

* Fix Verisure tests

* one final test fix

* Add change

* Fix coverage
2019-02-02 07:13:16 -08:00