Skip to content

fix: resolve all type-check errors#1

Merged
cryptomilk merged 1 commit into
mainfrom
asn-wip
Mar 22, 2026
Merged

fix: resolve all type-check errors#1
cryptomilk merged 1 commit into
mainfrom
asn-wip

Conversation

@cryptomilk

Copy link
Copy Markdown
Owner
  • Cast days_of_week to list[str | int | float] for proper iteration typing
  • Use getattr + isinstance(val, timedelta) for connector interval access
  • Narrow climatization value with isinstance(element.value, enum.Enum)
  • Remove unused type: ignore comments in scheduler.py and plugin_ui.py

@cryptomilk
cryptomilk merged commit 5e45d4b into main Mar 22, 2026
8 checks passed
@cryptomilk
cryptomilk deleted the asn-wip branch March 22, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant