diff --git a/custom_components/youtube/sensor.py b/custom_components/youtube/sensor.py index c38e03d..74af357 100644 --- a/custom_components/youtube/sensor.py +++ b/custom_components/youtube/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from dateutil.parser import parse import re +import html CONF_CHANNEL_ID = 'channel_id' @@ -90,7 +91,7 @@ async def async_update(self): self.published = info.split('')[2].split('