Do not store apache kafka in hass.data (#127090)

pull/127096/head
epenet 2024-09-30 12:01:13 +02:00 committed by GitHub
parent ebe4ed99b5
commit 2deab9e0c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Activate the Apache Kafka integration."""
conf = config[DOMAIN]
kafka = hass.data[DOMAIN] = KafkaManager(
kafka = KafkaManager(
hass,
conf[CONF_IP_ADDRESS],
conf[CONF_PORT],