pnbruckner / ha-entity-tz

Home Assistant Entity Time Zone Sensor
The Unlicense
3 stars 0 forks source link

RuntimeWarning: overflow encountered in scalar multiply #14

Closed Mariusthvdb closed 5 months ago

Mariusthvdb commented 5 months ago

found this during testing beta HA 2024.5. with asyncio debug mode

Deze fout is ontstaan door een aangepaste integratie.

Logger: py.warnings
Bron: custom_components/entity_tz/helpers.py:90
integratie: Tijdzone van entiteit (documentatie, problemen)
Eerst voorgekomen: 08:24:31 (1 gebeurtenissen)
Laatst gelogd: 08:24:31

/usr/local/lib/python3.12/site-packages/timezonefinder/helpers.py:79: RuntimeWarning: overflow encountered in scalar multiply and (int64(y2) - int64(y)) * (int64(x2) - int64(x1))
pnbruckner commented 5 months ago

Not my code. Just using it. You might want to report it to them: https://github.com/jannikmi/timezonefinder. FWIW, I'm using "timezonefinder==5.2.0".