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

FutureWarning: functools.partial #2326

Open
gio-dzilla opened this issue Jan 24, 2025 · 0 comments
Open

FutureWarning: functools.partial #2326

gio-dzilla opened this issue Jan 24, 2025 · 0 comments

Comments

@gio-dzilla
Copy link

Home Assistant Green
Core 2025.1.4
Supervisor 2024.12.3
Operating System 14.1

Xiaomi miot:1.0.8

Logger: py.warnings
Source: custom_components/xiaomi_miot/core/converters.py:4
integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 13:10:15 (1 occurrences)
Last logged: 13:10:15

/usr/local/lib/python3.13/site-packages/miio/miot_device.py:23: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in enum.member() if you want to preserve the old behavior Bool = partial(_str2bool)

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

1 participant