From 57100a626a494d8af474ac1f05b0f9152665d011 Mon Sep 17 00:00:00 2001 From: RogerSelwyn Date: Thu, 3 Oct 2024 07:46:47 +0100 Subject: [PATCH] fix: Fix error caused by constants move in core MQTT --- custom_components/mqtt_discoverystream_alt/discovery.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/custom_components/mqtt_discoverystream_alt/discovery.py b/custom_components/mqtt_discoverystream_alt/discovery.py index a41b995..fed9528 100644 --- a/custom_components/mqtt_discoverystream_alt/discovery.py +++ b/custom_components/mqtt_discoverystream_alt/discovery.py @@ -8,11 +8,9 @@ from homeassistant.components.mqtt.const import ( AVAILABILITY_LATEST, CONF_AVAILABILITY, - CONF_TOPIC, -) -from homeassistant.components.mqtt.mixins import ( CONF_PAYLOAD_AVAILABLE, CONF_PAYLOAD_NOT_AVAILABLE, + CONF_TOPIC, ) from homeassistant.components.sensor import ATTR_STATE_CLASS from homeassistant.const import (