diff --git a/custom_components/deutschebahn/config_flow.py b/custom_components/deutschebahn/config_flow.py index 7348d74..0de49e8 100644 --- a/custom_components/deutschebahn/config_flow.py +++ b/custom_components/deutschebahn/config_flow.py @@ -66,7 +66,7 @@ async def async_step_user(self, user_input=None): if user_input is not None: await self.async_set_unique_id(user_input[CONF_START] + " to " + user_input[CONF_DESTINATION]) self._abort_if_unique_id_configured() - _LOGGER.debug("Initialized new deutschebahn with id: {unique_id}") + _LOGGER.debug("Initialized new deutschebahn sensor with id: {unique_id}") return self.async_create_entry(title=user_input[CONF_START] + " - " + user_input[CONF_DESTINATION], data=user_input) data_schema = vol.Schema( diff --git a/hacs.json b/hacs.json index 4842715..a5418eb 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,6 @@ { "name": "Deutsche Bahn", "render_readme": true, - "country": ["DE"] + "country": ["DE"], + "iot_class": "cloud_polling" } \ No newline at end of file