Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value '2523.090909090909' has dtype incompatible with int64 #465

Open
purcell-lab opened this issue Feb 18, 2025 · 1 comment
Open

Value '2523.090909090909' has dtype incompatible with int64 #465

purcell-lab opened this issue Feb 18, 2025 · 1 comment

Comments

@purcell-lab
Copy link
Contributor

Describe the bug

It looks as if forecast.py is processing float values, but an int64 is expected.

/app/src/emhass/forecast.py:632: FutureWarning:
Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '2523.090909090909' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.
/app/src/emhass/forecast.py:632: FutureWarning:
Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '1224.909090909091' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.

To Reproduce
Operation utilising retrieved history.

Expected behaviorplease explicitly cast to a compatible dtype first.

Home Assistant installation type

  • Home Assistant OS

Your hardware

  • OS: HA OS,
  • Architecture: aarch64

EMHASS installation type

  • Add-on
@davidusb-geek
Copy link
Owner

This is now solved here #476
It will be available in a future release

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

No branches or pull requests

2 participants