issue #325 - restore self-regulation errors after restart (#366)

* issue #325 - creates regulation_algo in post_init only

* Remove github pages deployment

---------

Co-authored-by: Jean-Marc Collin <jean-marc.collin-extern@renault.com>
This commit is contained in:
Jean-Marc Collin
2024-01-26 18:38:36 +01:00
committed by GitHub
parent 90f9a0e1e3
commit 76382ebb35
2 changed files with 7 additions and 7 deletions

View File

@@ -42,9 +42,8 @@ jobs:
- name: Generate HTML Coverage Report - name: Generate HTML Coverage Report
run: coverage html run: coverage html
# - name: Deploy to GitHub Pages
- name: Deploy to GitHub Pages # uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3 # with:
with: # github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }} # publish_dir: ./htmlcov
publish_dir: ./htmlcov

View File

@@ -430,7 +430,8 @@ class ThermostatOverClimate(BaseThermostat):
) )
# init auto_regulation_mode # init auto_regulation_mode
self.choose_auto_regulation_mode(self._auto_regulation_mode) # Issue 325 - do only once (in post_init and not here)
# self.choose_auto_regulation_mode(self._auto_regulation_mode)
@overrides @overrides
def restore_specific_previous_state(self, old_state: State): def restore_specific_previous_state(self, old_state: State):