Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Aug 17, 2024
1 parent f21b66b commit eff8caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ramses_rf/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def check_filter_lists(dev_id: DeviceIdT) -> None: # may: LookupError

if not dev:
# voluptuous bug workaround: https://github.com/alecthomas/voluptuous/pull/524
_traits = self._include.get(device_id, {})
_traits: dict[str, Any] = self._include.get(device_id, {}) # type: ignore[assignment]
_traits.pop("commands", None)

traits: dict[str, Any] = SCH_TRAITS(self._include.get(device_id, {}))
Expand Down

0 comments on commit eff8caf

Please sign in to comment.