Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reenable Smarty integration #124148

Merged
merged 9 commits into from
Sep 4, 2024
2 changes: 1 addition & 1 deletion homeassistant/components/smarty/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/smarty/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import logging

from pysmarty import Smarty
from pysmarty2 import Smarty

from homeassistant.components.binary_sensor import (
BinarySensorDeviceClass,
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/smarty/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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
Expand Down
6 changes: 3 additions & 3 deletions homeassistant/components/smarty/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/smarty/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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
Expand Down
3 changes: 3 additions & 0 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading