Add support Slide cover (#25913)

* Add support GoSlide cover

* Fixed Parameters differ from overridden
Fixed Removed other pylint warnings

* Renamed GoSlide to Slide, because of Innovation in Motion rebranding

* Fixed codeowners file

* Fixed requirements file

* Removed pylint: disable=unused-argument
Removed DOMAIN not exist check
Changed if to min/max
Changed 3rd party import to top of the module
Removed timeout/retry parameters
Removed unused constants
Added check for discovery_info is none
Changed pass slide object instead of full hass object
Changed pass api object instead of full hass object
Added unique_id functionality
Removed entity_id/name properties
Removed supported_features/state functions

* Fixed unused variables

* Changed Slide API uses snake names
Changed Improved exception handling
Changed Updated Slide API to 0.50.0

* Changed moved exceptions into goslide-api
Changed retry setup into coroutine

* Changed str(err) to err
Changed invert if result to if not result
This commit is contained in:
Alexander authored and Paulus Schoutsen committed 2019-09-03 10:09:25 -07:00
1 parent 7d1e3af701
commit 330ae0d885
7 files changed
+305

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
"""Define constants for the Go Slide component."""
API = "api"
COMPONENT = "cover"
DOMAIN = "slide"
SLIDES = "slides"
DEFAULT_RETRY = 120