Reenable Smarty integration (#124148)

* Reenable Smarty integration

* Updated codeowners to myself

* Revert "Updated codeowners to myself"

This reverts commit 639fef32b90d22117938f864e6ea3c55b0fc5074.

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

* Update requirements_all.txt
This commit is contained in:
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 ipaddress
import logging import logging
from pysmarty import Smarty from pysmarty2 import Smarty
import voluptuous as vol import voluptuous as vol
from homeassistant.const import CONF_HOST, CONF_NAME, Platform from homeassistant.const import CONF_HOST, CONF_NAME, Platform

View File

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

View File

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

View File

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

View File

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

View File

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