From 2fb6ae0a73c71c143a1989b6bf898cbce5c0282d Mon Sep 17 00:00:00 2001 From: Nat Burns Date: Fri, 27 Sep 2019 04:49:03 +0000 Subject: [PATCH] Update README. --- README.md | 9 ++++++++- custom_components/hdhomerun/sensor.py | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1bf9b83..0992c33 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # ha-hdhomerun -HDHomeRun integration for Home Assistant. +Custom component to enable HDHomeRun integration for Home Assistant. + +## Configuration + hdhomerun: + # Host addresses are optional, if none are specified then entities will be populated by network discovery. + sensor: + - host: 192.168.1.10 + - host: 192.168.1.5 \ No newline at end of file diff --git a/custom_components/hdhomerun/sensor.py b/custom_components/hdhomerun/sensor.py index 7e0d249..aca5ff7 100644 --- a/custom_components/hdhomerun/sensor.py +++ b/custom_components/hdhomerun/sensor.py @@ -6,7 +6,7 @@ from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN from homeassistant.helpers.entity import Entity -from .const import DOMAIN +from .const import DOMAIN, CONF_HOST _LOGGER = logging.getLogger(__name__)