1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Add emulated_roku component (#17596)

* Add emulated_roku component

* Add emulated_roku config tests

* Fix emulated_roku test dependencies

* Remove emulated_roku yaml support, add tests

* Add yaml support, simplify config flow

* Improve emulated_roku code quality

* Fix emulated_roku translation, improve code quality

* Fix emulated_roku translation

* Bump emulated_roku to 0.1.6 to fix SSDP discovery

* Bump emulated roku to 0.1.7, refactor component start/stop methods
This commit is contained in:
mindigmarton
2019-01-11 03:20:35 +01:00
committed by Martin Hjelmare
parent cee51ecb2b
commit 31d92683f7
14 changed files with 553 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
"""Constants for the emulated_roku component."""
DOMAIN = 'emulated_roku'
CONF_SERVERS = 'servers'
CONF_LISTEN_PORT = 'listen_port'
CONF_HOST_IP = 'host_ip'
CONF_ADVERTISE_IP = 'advertise_ip'
CONF_ADVERTISE_PORT = 'advertise_port'
CONF_UPNP_BIND_MULTICAST = 'upnp_bind_multicast'
DEFAULT_NAME = "Home Assistant"
DEFAULT_PORT = 8060