diff --git a/custom_components/stadtreinigung_hamburg/__init__.py b/custom_components/stadtreinigung_hamburg/__init__.py index d8ac68b..380cfea 100644 --- a/custom_components/stadtreinigung_hamburg/__init__.py +++ b/custom_components/stadtreinigung_hamburg/__init__.py @@ -1,9 +1,12 @@ """The Stadtreinigung Hamburg integration""" from homeassistant.config_entries import ConfigEntry from homeassistant.core import Config, HomeAssistant +import homeassistant.helpers.config_validation as cv +from homeassistant.const import CONF_NAME DOMAIN = "stadtreinigung_hamburg" +CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) async def async_setup(hass, config): """Do not allow config via configuration.yaml""" diff --git a/custom_components/stadtreinigung_hamburg/manifest.json b/custom_components/stadtreinigung_hamburg/manifest.json index ed016d3..0708b66 100644 --- a/custom_components/stadtreinigung_hamburg/manifest.json +++ b/custom_components/stadtreinigung_hamburg/manifest.json @@ -12,5 +12,6 @@ "lxml_html_clean" ], "config_flow": true, + "iot_class": "cloud_polling", "version": "1.1.5" }