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

web_server addon mode init data_path options param #223

Closed GeoDerp closed 3 months ago

GeoDerp commented 3 months ago

Created from suggestion by @gieljnssns : https://github.com/davidusb-geek/emhass/pull/147#issuecomment-1986783742

Working on EMHASS-Add-on PR fr this now.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.63%. Comparing base (6d01db6) to head (97ae22b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #223 +/- ## ======================================= Coverage 87.63% 87.63% ======================================= Files 6 6 Lines 1707 1707 ======================================= Hits 1496 1496 Misses 211 211 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

GeoDerp commented 3 months ago

Will let you know when I am happy with this.

GeoDerp commented 3 months ago

@davidusb-geek , there is an issue with the directory structure of the webserver on EMHASS-Add-on (since it uses its own ul). Will try and fix this and add it to this PR.

GeoDerp commented 3 months ago

Not my finest work. But it should work. @davidusb-geek

davidusb-geek commented 3 months ago

Ok I will merge now and test later today.