Skip to content
Permalink
Browse files

Created manifest and moved depencies

  • Loading branch information...
pattyland committed Jun 3, 2019
1 parent 5d00782 commit 65378a0f1e60c6d67d114c5a5a30c8e22d87300c
Showing with 9 additions and 4 deletions.
  1. +0 −1 avea/__init__.py
  2. +1 −3 avea/light.py
  3. +8 −0 avea/manifest.json
@@ -1 +0,0 @@

@@ -7,8 +7,6 @@
import homeassistant.util.color as color_util


REQUIREMENTS = ['avea==1.2.8']

_LOGGER = logging.getLogger(__name__)

SUPPORT_AVEA = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR)
@@ -91,4 +89,4 @@ def update(self):
else:
self._state = True
bright_percent = round((self._light.get_brightness()/4095)*100)
self._brightness = round(255 * (bright_percent / 100))
self._brightness = round(255 * (bright_percent / 100))
@@ -0,0 +1,8 @@
{
"domain": "avea",
"name": "Elgato Avea",
"documentation": "https://www.home-assistant.io/components/avea",
"dependencies": [],
"codeowners": ["@pattyland"],
"requirements": ["avea==1.2.8"]
}

0 comments on commit 65378a0

Please sign in to comment.
You can’t perform that action at this time.