Add additional garage door code to Advantage Air (#139687)

add Garage door
This commit is contained in:
Brett Adams
2025-03-03 20:45:04 +10:00
committed by GitHub
parent 572534b306
commit 5472345f45

View File

@@ -41,7 +41,7 @@ async def async_setup_entry(
entities.append(
AdvantageAirThingCover(instance, thing, CoverDeviceClass.BLIND)
)
elif thing["channelDipState"] == 3: # 3 = "Garage door"
elif thing["channelDipState"] in [3, 10]: # 3 & 10 = "Garage door"
entities.append(
AdvantageAirThingCover(instance, thing, CoverDeviceClass.GARAGE)
)