feat: support more devices.

This commit is contained in:
sususweet
2025-09-25 10:50:39 +08:00
parent f99019bdca
commit 40ba24c32a
9 changed files with 774 additions and 10 deletions

View File

@@ -1,6 +1,5 @@
from homeassistant.const import Platform, UnitOfTemperature
from homeassistant.const import Platform, UnitOfTemperature, PRECISION_HALVES
from homeassistant.components.sensor import SensorStateClass, SensorDeviceClass
from homeassistant.components.climate.const import PRECISION_HALVES
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
from homeassistant.components.switch import SwitchDeviceClass