From 1ff29fc05218a8be93e4ce9027b4af02caaa9a17 Mon Sep 17 00:00:00 2001 From: Pavel Veretennikov Date: Wed, 22 May 2024 00:16:12 +0300 Subject: [PATCH] fix: broken import --- custom_components/openmower/entity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/openmower/entity.py b/custom_components/openmower/entity.py index a866a78..3e2bbb8 100644 --- a/custom_components/openmower/entity.py +++ b/custom_components/openmower/entity.py @@ -4,13 +4,14 @@ from typing import Optional from homeassistant.components import mqtt -from homeassistant.components.openmower import DOMAIN from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity from homeassistant.util import slugify, Throttle from homeassistant.util.json import json_loads_object +from .const import DOMAIN + MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=5)