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

[Feature Request] - use a sensor for battery_soc_threshold value #83

Open
roumano opened this issue Dec 28, 2024 · 0 comments
Open

[Feature Request] - use a sensor for battery_soc_threshold value #83

roumano opened this issue Dec 28, 2024 · 0 comments
Labels
enhancement New feature or request Need PR A PR from community is required (easy to do)

Comments

@roumano
Copy link

roumano commented Dec 28, 2024

Is your feature request related to a problem? Please describe.
To optimize my battery and the boiler usage via solar_optimizer, i would like to use a sensor for battery_soc_threshold

Like :

battery_soc_threshold: "{{ states('input_number.solar_optimizer_ballon_battery_soc_threshold') | float (default=50) }}"

instead of :

battery_soc_threshold: 50

Actually, it's not possible as it's raise this error :

Invalid config for 'solar_optimizer' at solar_optimizer.yaml, line 20: expected float for dictionary value 'solar_optimizer->devices->0->battery_soc_threshold', got "{{ states('input_number.solar_optimizer_ballon_battery_soc_threshold') | float (default=50) }}"

Describe the solution you'd like
It's not possible to use a sensor for battery_soc_threshold attribute

@jmcollin78 jmcollin78 changed the title use a sensor for battery_soc_threshold value [Feature Request] - use a sensor for battery_soc_threshold value Jan 1, 2025
@jmcollin78 jmcollin78 added enhancement New feature or request Need PR A PR from community is required (easy to do) labels Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Need PR A PR from community is required (easy to do)
Projects
None yet
Development

No branches or pull requests

2 participants