Closed luuuis closed 4 months ago
Do not configure def_start_timestep or def_end_timestep in YAML
Just configure these. They just should have the same length as the number of deferrable loads.
This was an unexpected breaking change, so that's why no warning was issued. But the solution is easy and the error messages were improved after this.
Closing.
Yes, I configured locally once I figured out what was the cause. Just looking to avoid this for others who upgrade, glad it's fixed in later versions. 👍
Describe the bug Upon upgrade to 0.6.6 EMHASS stopped working in Home Assistant due to the following error.
To Reproduce
def_start_timestep
ordef_end_timestep
in YAML,def_start_timestep
ordef_end_timestep
in the payload.Expected behavior Configurations that were previously working should continue to work, especially for optional parameters. Alternatively, if these parameters are required then they should be validated and an appropriate error message issued.
EMHASS installation type
Additional context Add any other context about the problem here.