emhass 0.9.0__tar.gz → 0.9.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. {emhass-0.9.0 → emhass-0.9.1}/CHANGELOG.md +5 -0
  2. {emhass-0.9.0 → emhass-0.9.1}/PKG-INFO +15 -12
  3. {emhass-0.9.0 → emhass-0.9.1}/README.md +14 -11
  4. {emhass-0.9.0 → emhass-0.9.1}/setup.py +1 -1
  5. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/command_line.py +189 -284
  6. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/forecast.py +10 -16
  7. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/machine_learning_regressor.py +14 -53
  8. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/retrieve_hass.py +22 -95
  9. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/utils.py +11 -26
  10. {emhass-0.9.0 → emhass-0.9.1}/src/emhass.egg-info/PKG-INFO +15 -12
  11. {emhass-0.9.0 → emhass-0.9.1}/CODE_OF_CONDUCT.md +0 -0
  12. {emhass-0.9.0 → emhass-0.9.1}/CONTRIBUTING.md +0 -0
  13. {emhass-0.9.0 → emhass-0.9.1}/LICENSE +0 -0
  14. {emhass-0.9.0 → emhass-0.9.1}/MANIFEST.in +0 -0
  15. {emhass-0.9.0 → emhass-0.9.1}/data/data_load_cost_forecast.csv +0 -0
  16. {emhass-0.9.0 → emhass-0.9.1}/data/data_load_forecast.csv +0 -0
  17. {emhass-0.9.0 → emhass-0.9.1}/data/data_prod_price_forecast.csv +0 -0
  18. {emhass-0.9.0 → emhass-0.9.1}/data/data_train_load_clustering.pkl +0 -0
  19. {emhass-0.9.0 → emhass-0.9.1}/data/data_train_load_forecast.pkl +0 -0
  20. {emhass-0.9.0 → emhass-0.9.1}/data/data_weather_forecast.csv +0 -0
  21. {emhass-0.9.0 → emhass-0.9.1}/data/heating_prediction.csv +0 -0
  22. {emhass-0.9.0 → emhass-0.9.1}/data/opt_res_latest.csv +0 -0
  23. {emhass-0.9.0 → emhass-0.9.1}/data/opt_res_perfect_optim_cost.csv +0 -0
  24. {emhass-0.9.0 → emhass-0.9.1}/data/opt_res_perfect_optim_profit.csv +0 -0
  25. {emhass-0.9.0 → emhass-0.9.1}/data/opt_res_perfect_optim_self-consumption.csv +0 -0
  26. {emhass-0.9.0 → emhass-0.9.1}/data/test_df_final.pkl +0 -0
  27. {emhass-0.9.0 → emhass-0.9.1}/data/test_response_get_data_get_method.pbz2 +0 -0
  28. {emhass-0.9.0 → emhass-0.9.1}/data/test_response_scrapper_get_method.pbz2 +0 -0
  29. {emhass-0.9.0 → emhass-0.9.1}/data/test_response_solarforecast_get_method.pbz2 +0 -0
  30. {emhass-0.9.0 → emhass-0.9.1}/data/test_response_solcast_get_method.pbz2 +0 -0
  31. {emhass-0.9.0 → emhass-0.9.1}/pyproject.toml +0 -0
  32. {emhass-0.9.0 → emhass-0.9.1}/setup.cfg +0 -0
  33. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/__init__.py +0 -0
  34. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/data/cec_inverters.pbz2 +0 -0
  35. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/data/cec_modules.pbz2 +0 -0
  36. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/machine_learning_forecaster.py +0 -0
  37. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/optimization.py +0 -0
  38. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/static/advanced.html +0 -0
  39. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/static/basic.html +0 -0
  40. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/static/img/emhass_icon.png +0 -0
  41. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/static/img/emhass_logo_short.svg +0 -0
  42. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/static/img/feather-sprite.svg +0 -0
  43. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/static/script.js +0 -0
  44. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/static/style.css +0 -0
  45. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/templates/index.html +0 -0
  46. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/templates/template.html +0 -0
  47. {emhass-0.9.0 → emhass-0.9.1}/src/emhass/web_server.py +0 -0
  48. {emhass-0.9.0 → emhass-0.9.1}/src/emhass.egg-info/SOURCES.txt +0 -0
  49. {emhass-0.9.0 → emhass-0.9.1}/src/emhass.egg-info/dependency_links.txt +0 -0
  50. {emhass-0.9.0 → emhass-0.9.1}/src/emhass.egg-info/entry_points.txt +0 -0
  51. {emhass-0.9.0 → emhass-0.9.1}/src/emhass.egg-info/requires.txt +0 -0
  52. {emhass-0.9.0 → emhass-0.9.1}/src/emhass.egg-info/top_level.txt +0 -0
  53. {emhass-0.9.0 → emhass-0.9.1}/tests/test_command_line_utils.py +0 -0
  54. {emhass-0.9.0 → emhass-0.9.1}/tests/test_forecast.py +0 -0
  55. {emhass-0.9.0 → emhass-0.9.1}/tests/test_machine_learning_forecaster.py +0 -0
  56. {emhass-0.9.0 → emhass-0.9.1}/tests/test_machine_learning_regressor.py +0 -0
  57. {emhass-0.9.0 → emhass-0.9.1}/tests/test_optimization.py +0 -0
  58. {emhass-0.9.0 → emhass-0.9.1}/tests/test_retrieve_hass.py +0 -0
  59. {emhass-0.9.0 → emhass-0.9.1}/tests/test_utils.py +0 -0
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.1 - 2024-05-13
4
+ ### Fix
5
+ - Fix patch for issue with paths to modules and inverters database
6
+ - Fixed code formatting, or at least trying to keep a unique format
7
+
3
8
  ## 0.9.0 - 2024-05-10
4
9
  ### Improvement
5
10
  - On this new version we now have a new method to train a regression model using Scikit-Learn methods. This is the contribution of @gieljnssns. Check the dedicated section the documentation to this new feature: [https://emhass.readthedocs.io/en/latest/mlregressor.html](https://emhass.readthedocs.io/en/latest/mlregressor.html)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: emhass
3
- Version: 0.9.0
3
+ Version: 0.9.1
4
4
  Summary: An Energy Management System for Home Assistant
5
5
  Home-page: https://github.com/davidusb-geek/emhass
6
6
  Author: David HERNANDEZ
@@ -40,43 +40,46 @@ Requires-Dist: plotly>=5.6.0
40
40
  <strong></strong>
41
41
  </div>
42
42
  <br>
43
+
43
44
  <p align="center">
44
- <a href="https://github.com/davidusb-geek/emhass/releases">
45
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/releases">
45
46
  <img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/davidusb-geek/emhass">
46
47
  </a>
47
- <a href="https://github.com/davidusb-geek/emhass/actions">
48
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/actions">
48
49
  <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/davidusb-geek/emhass/python-test.yml?branch=master">
49
50
  </a>
50
- <a href="https://codecov.io/github/davidusb-geek/emhass" >
51
+ <a hstyle="text-decoration:none" ref="https://codecov.io/github/davidusb-geek/emhass" >
51
52
  <img src="https://codecov.io/github/davidusb-geek/emhass/branch/master/graph/badge.svg?token=BW7KSCHN90"/>
52
53
  </a>
53
- <a href="https://github.com/davidusb-geek/emhass/blob/master/LICENSE">
54
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/blob/master/LICENSE">
54
55
  <img alt="GitHub" src="https://img.shields.io/github/license/davidusb-geek/emhass">
55
56
  </a>
56
- <a href="https://pypi.org/project/emhass/">
57
+ <a style="text-decoration:none" href="https://pypi.org/project/emhass/">
57
58
  <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/emhass">
58
59
  </a>
59
- <a href="https://pypi.org/project/emhass/">
60
+ <a style="text-decoration:none" href="https://pypi.org/project/emhass/">
60
61
  <img alt="PyPI - Status" src="https://img.shields.io/pypi/status/emhass">
61
62
  </a>
62
- <a href="https://emhass.readthedocs.io/en/latest/">
63
+ <a style="text-decoration:none" href="https://emhass.readthedocs.io/en/latest/">
63
64
  <img alt="Read the Docs" src="https://img.shields.io/readthedocs/emhass">
64
65
  </a>
65
66
  </p>
67
+
66
68
  <div align="center">
67
- <a href="https://emhass.readthedocs.io/en/latest/">
69
+ <a style="text-decoration:none" href="https://emhass.readthedocs.io/en/latest/">
68
70
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/Documentation_button.svg" alt="Documentation">
69
71
  </a>
70
- <a href="https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126">
72
+ <a style="text-decoration:none" href="https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126">
71
73
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/Community_button.svg" alt="Community">
72
74
  </a>
73
- <a href="https://github.com/davidusb-geek/emhass/issues">
75
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/issues">
74
76
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/Issues_button.svg" alt="Issues">
75
77
  </a>
76
- <a href="https://github.com/davidusb-geek/emhass-add-on">
78
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass-add-on">
77
79
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/EMHASS_Add_on_button.svg" alt="EMHASS Add-on">
78
80
  </a>
79
81
  </div>
82
+
80
83
  <br>
81
84
  <p align="center">
82
85
  If you like this work please consider buying a coffee ;-)
@@ -5,43 +5,46 @@
5
5
  <strong></strong>
6
6
  </div>
7
7
  <br>
8
+
8
9
  <p align="center">
9
- <a href="https://github.com/davidusb-geek/emhass/releases">
10
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/releases">
10
11
  <img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/davidusb-geek/emhass">
11
12
  </a>
12
- <a href="https://github.com/davidusb-geek/emhass/actions">
13
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/actions">
13
14
  <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/davidusb-geek/emhass/python-test.yml?branch=master">
14
15
  </a>
15
- <a href="https://codecov.io/github/davidusb-geek/emhass" >
16
+ <a hstyle="text-decoration:none" ref="https://codecov.io/github/davidusb-geek/emhass" >
16
17
  <img src="https://codecov.io/github/davidusb-geek/emhass/branch/master/graph/badge.svg?token=BW7KSCHN90"/>
17
18
  </a>
18
- <a href="https://github.com/davidusb-geek/emhass/blob/master/LICENSE">
19
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/blob/master/LICENSE">
19
20
  <img alt="GitHub" src="https://img.shields.io/github/license/davidusb-geek/emhass">
20
21
  </a>
21
- <a href="https://pypi.org/project/emhass/">
22
+ <a style="text-decoration:none" href="https://pypi.org/project/emhass/">
22
23
  <img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/emhass">
23
24
  </a>
24
- <a href="https://pypi.org/project/emhass/">
25
+ <a style="text-decoration:none" href="https://pypi.org/project/emhass/">
25
26
  <img alt="PyPI - Status" src="https://img.shields.io/pypi/status/emhass">
26
27
  </a>
27
- <a href="https://emhass.readthedocs.io/en/latest/">
28
+ <a style="text-decoration:none" href="https://emhass.readthedocs.io/en/latest/">
28
29
  <img alt="Read the Docs" src="https://img.shields.io/readthedocs/emhass">
29
30
  </a>
30
31
  </p>
32
+
31
33
  <div align="center">
32
- <a href="https://emhass.readthedocs.io/en/latest/">
34
+ <a style="text-decoration:none" href="https://emhass.readthedocs.io/en/latest/">
33
35
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/Documentation_button.svg" alt="Documentation">
34
36
  </a>
35
- <a href="https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126">
37
+ <a style="text-decoration:none" href="https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126">
36
38
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/Community_button.svg" alt="Community">
37
39
  </a>
38
- <a href="https://github.com/davidusb-geek/emhass/issues">
40
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass/issues">
39
41
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/Issues_button.svg" alt="Issues">
40
42
  </a>
41
- <a href="https://github.com/davidusb-geek/emhass-add-on">
43
+ <a style="text-decoration:none" href="https://github.com/davidusb-geek/emhass-add-on">
42
44
  <img src="https://raw.githubusercontent.com/davidusb-geek/emhass/master/docs/images/EMHASS_Add_on_button.svg" alt="EMHASS Add-on">
43
45
  </a>
44
46
  </div>
47
+
45
48
  <br>
46
49
  <p align="center">
47
50
  If you like this work please consider buying a coffee ;-)
@@ -19,7 +19,7 @@ long_description = (here / 'README.md').read_text(encoding='utf-8')
19
19
 
20
20
  setup(
21
21
  name='emhass', # Required
22
- version='0.9.0', # Required
22
+ version='0.9.1', # Required
23
23
  description='An Energy Management System for Home Assistant', # Optional
24
24
  long_description=long_description, # Optional
25
25
  long_description_content_type='text/markdown', # Optional (see note above)