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

Devices value_type shall not be None #1659

Open
farmio opened this issue Feb 11, 2025 · 0 comments
Open

Devices value_type shall not be None #1659

farmio opened this issue Feb 11, 2025 · 0 comments

Comments

@farmio
Copy link
Member

farmio commented Feb 11, 2025

Devices (Sensor, Number, ExposeSensor) shall not accept None for value_type. This would raise anyway.
An exception would be Notification as it uses a default value - but this may still be handled differently (using a default argument).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant