Fix slide open/close percentage (#33739)

* Fix Open/Close percentage

* Update __init__.py

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
AlexanderandMartin Hjelmare authored and GitHub committed 2020-04-09 10:20:48 +02:00
1 parent 1adb45f74e
commit 87e7e7fe8a
3 files changed
+37 -12

No files matched your search

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