Skip to content

Fix get_timezone typing#2562

Open
mkuthan wants to merge 2 commits intoAppDaemon:devfrom
mkuthan:fix_get_timezone_typing1
Open

Fix get_timezone typing#2562
mkuthan wants to merge 2 commits intoAppDaemon:devfrom
mkuthan:fix_get_timezone_typing1

Conversation

@mkuthan
Copy link

@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
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