Skip to content

Fix get_timezone typing#2562

Merged
acockburn merged 2 commits into
AppDaemon:devfrom
mkuthan:fix_get_timezone_typing1
May 10, 2026
Merged

Fix get_timezone typing#2562
acockburn merged 2 commits into
AppDaemon:devfrom
mkuthan:fix_get_timezone_typing1

Conversation

@mkuthan
Copy link
Copy Markdown
Contributor

@mkuthan mkuthan commented Feb 27, 2026

I aligned typing to the current implementation and decided to use dt.tzinfo from std lib. Under the hood appdaemon uses BaseTzInfo but this class inherits from dt.tzinfo so it should not be a problem.

@mkuthan mkuthan changed the title Fix get timezone typing1 Fix get_timezone typing Feb 27, 2026
@acockburn acockburn merged commit c9e21aa into AppDaemon:dev May 10, 2026
7 checks passed
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.

2 participants