Skip to content

Commit

Permalink
small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
FaserF committed Aug 25, 2024
1 parent b95c77e commit 345572c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/deutschebahn/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 2 additions & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "Deutsche Bahn",
"render_readme": true,
"country": ["DE"]
"country": ["DE"],
"iot_class": "cloud_polling"
}

0 comments on commit 345572c

Please sign in to comment.