Add support for Elgato Light Strip (#49988)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Franck Nijhof 2021-05-06 01:41:32 +02:00 committed by GitHub
parent e4ef06d6b1
commit ae692a003f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 249 additions and 65 deletions

View file

@ -1,4 +1,4 @@
"""Config flow to configure the Elgato Key Light integration."""
"""Config flow to configure the Elgato Light integration."""
from __future__ import annotations
from typing import Any
@ -16,7 +16,7 @@ from .const import CONF_SERIAL_NUMBER, DOMAIN
class ElgatoFlowHandler(ConfigFlow, domain=DOMAIN):
"""Handle a Elgato Key Light config flow."""
"""Handle a Elgato Light config flow."""
VERSION = 1
@ -91,7 +91,7 @@ class ElgatoFlowHandler(ConfigFlow, domain=DOMAIN):
)
async def _get_elgato_serial_number(self, raise_on_progress: bool = True) -> None:
"""Get device information from an Elgato Key Light device."""
"""Get device information from an Elgato Light device."""
session = async_get_clientsession(self.hass)
elgato = Elgato(
host=self.host,