feat: refactor code to add more devices.

This commit is contained in:
sususweet
2025-09-24 20:56:04 +08:00
parent 51f0fcc8dc
commit b1bf76f292
8 changed files with 647 additions and 20 deletions

View File

@@ -15,7 +15,6 @@ DEVICE_MAPPING = {
"entities": {
Platform.CLIMATE: {
"thermostat": {
"name": "Thermostat",
"power": "power",
"hvac_modes": {
"off": {"power": "off"},
@@ -96,7 +95,6 @@ DEVICE_MAPPING = {
"entities": {
Platform.CLIMATE: {
"thermostat": {
"name": "Thermostat",
"power": "power",
"hvac_modes": {
"off": {"power": "off"},