@@ -25,6 +25,7 @@ def _parse_topic(
_LOGGER.warning("unknown alias %r; ignoring message", topic_split[1])
return None, None
try:
+ # accepting strings to support `{{ aliases_in_ansible_vault | to_nice_json }}`
return int(alias_attrs["address"]), int(alias_attrs["button-index"])
except KeyError:
_LOGGER.error(