From 066ff5a51229f1c90cbd91f6fe09f00f79198c89 Mon Sep 17 00:00:00 2001 From: Delmael Date: Tue, 4 Feb 2025 08:41:36 +0100 Subject: [PATCH] Translations and refactor (#8) * add translations. DeviceEntity refactor. Tests updates. * update tests for subscribe device. --- custom_components/smartbox/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/smartbox/__init__.py b/custom_components/smartbox/__init__.py index 66cbf01..f2a7f57 100644 --- a/custom_components/smartbox/__init__.py +++ b/custom_components/smartbox/__init__.py @@ -3,6 +3,8 @@ import logging from typing import Any +import requests +from homeassistant import exceptions from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant