From 0e436ac80e2fc13e1f1d049b5bbb20b3cd16c540 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 4 Mar 2020 14:24:59 -0800 Subject: [PATCH] add const file for roku (#32470) --- homeassistant/components/roku/const.py | 2 ++ homeassistant/components/roku/media_player.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 homeassistant/components/roku/const.py diff --git a/homeassistant/components/roku/const.py b/homeassistant/components/roku/const.py new file mode 100644 index 00000000000..54c52de2622 --- /dev/null +++ b/homeassistant/components/roku/const.py @@ -0,0 +1,2 @@ +"""Constants for the Roku integration.""" +DEFAULT_PORT = 8060 diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index ce275aff92c..cc6a6056665 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -24,7 +24,7 @@ from homeassistant.const import ( STATE_STANDBY, ) -DEFAULT_PORT = 8060 +from .const import DEFAULT_PORT _LOGGER = logging.getLogger(__name__)