RRoe
(B Synnerlig)
1
I’m using Pylance in Visual Studio Code for my HABApp scripts and there are some annoying code hints that I haven’t figured out yet how to get rid of.
Module is not callable:
I have some more examples but I want to investigate further before I post it here.
Any help is appreciated.
Could you show the import of time?
RRoe
(B Synnerlig)
3
Thanks Sebastian for your reply!
I think I’ve just resolved it and I was going to delete this thread.
I found a double import. It’s embarrassing
import time
from datetime import datetime, time, timedelta
Errors like this are 5€ directly to my pizza fund
3 Likes