Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4nt0r committed Dec 12, 2024
1 parent b7c7c5b commit b4a009e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zhaquirks/tuya/builder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def tuya_contact(
dp_id,
ias_cfg.ep_attribute,
IasZone.AttributeDefs.zone_status.name,
converter=lambda x: IasZone.ZoneStatus.Alarm_1 if x != 0 else 0,
)
self.adds(ias_cfg)
return self
Expand Down

0 comments on commit b4a009e

Please sign in to comment.