You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
Whet you set a custom sensor for sensor_power_load_no_var_loads in the the EMHASS config file:
you still get the error :
ERROR - emhass.web_server - The retrieved JSON is empty, A sensor:sensor.power_load_no_var_loads may have 0 days of history, passed sensor may not be correct, or days to retrieve is set too heigh
To Reproduce
Steps to reproduce the behavior
Set a non default sensorname in the configfile and run a mpc or day ahead optimizer without passing the non default sensorname as runtime parameter
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Created a PR for what where I think the problem is, line 615 in utils.py reads if "var_model" not in runtimeparams.keys(): var_model = "sensor.power_load_no_var_loads"
while it should get the sensorname from the config file
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
Whet you set a custom sensor for sensor_power_load_no_var_loads in the the EMHASS config file:
you still get the error :
ERROR - emhass.web_server - The retrieved JSON is empty, A sensor:sensor.power_load_no_var_loads may have 0 days of history, passed sensor may not be correct, or days to retrieve is set too heigh
To Reproduce
Steps to reproduce the behavior
Set a non default sensorname in the configfile and run a mpc or day ahead optimizer without passing the non default sensorname as runtime parameter
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Home Assistant installation type
Your hardware
EMHASS installation type
Additional context
Add any other context about the problem here.
Created a PR for what where I think the problem is, line 615 in utils.py reads
if "var_model" not in runtimeparams.keys(): var_model = "sensor.power_load_no_var_loads"
while it should get the sensorname from the config file
The text was updated successfully, but these errors were encountered: