davidusb-geek / emhass

emhass: Energy Management for Home Assistant, is a Python module designed to optimize your home energy interfacing with Home Assistant.
MIT License
260 stars 51 forks source link

patch: Tests still succeed when sensor param changes in emhass_config #253

Closed GeoDerp closed 2 months ago

GeoDerp commented 2 months ago

Feel free to close, branch of #247. Additional commit added for a quick example. Allowing user to run Python tests even sensor parameters have been changed in the config file. I think the better option is a dedicated .json file (containing all required params), which all tests use as a emhass_config replacement. This is just there as a Feature Request alternative.