Reenable Smarty integration (#124148)

* Reenable Smarty integration

* Updated codeowners to myself

* Revert "Updated codeowners to myself"

This reverts commit 639fef32b9.

* Upgraded pysmarty2 to version 0.10.1 which is not pinned to specific pymodbus version

* Update requirements_all.txt
pull/124925/head
Martins Sipenko 2024-09-04 19:01:49 +03:00 committed by GitHub
parent eaee8d5b78
commit af51241c0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 7 deletions

View File

@ -4,7 +4,7 @@ from datetime import timedelta
import ipaddress
import logging
from pysmarty import Smarty
from pysmarty2 import Smarty
import voluptuous as vol
from homeassistant.const import CONF_HOST, CONF_NAME, Platform

View File

@ -4,7 +4,7 @@ from __future__ import annotations
import logging
from pysmarty import Smarty
from pysmarty2 import Smarty
from homeassistant.components.binary_sensor import (
BinarySensorDeviceClass,

View File

@ -6,7 +6,7 @@ import logging
import math
from typing import Any
from pysmarty import Smarty
from pysmarty2 import Smarty
from homeassistant.components.fan import FanEntity, FanEntityFeature
from homeassistant.core import HomeAssistant, callback

View File

@ -2,9 +2,9 @@
"domain": "smarty",
"name": "Salda Smarty",
"codeowners": ["@z0mbieprocess"],
"disabled": "Dependencies not compatible with the new pip resolver",
"documentation": "https://www.home-assistant.io/integrations/smarty",
"integration_type": "hub",
"iot_class": "local_polling",
"loggers": ["pymodbus", "pysmarty"],
"requirements": ["pysmarty==0.8"]
"loggers": ["pymodbus", "pysmarty2"],
"requirements": ["pysmarty2==0.10.1"]
}

View File

@ -5,7 +5,7 @@ from __future__ import annotations
import datetime as dt
import logging
from pysmarty import Smarty
from pysmarty2 import Smarty
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity
from homeassistant.const import UnitOfTemperature

View File

@ -2225,6 +2225,9 @@ pysmartapp==0.3.5
# homeassistant.components.smartthings
pysmartthings==0.7.8
# homeassistant.components.smarty
pysmarty2==0.10.1
# homeassistant.components.edl21
pysml==0.0.12