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
parent
eaee8d5b78
commit
af51241c0d
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue