Add state_class: measurement for battery level sensors (+ per-entity overrides) to enable statistics #28
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python Security Check (Bandit) | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| bandit: | |
| name: Run Bandit Security Analysis | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install Bandit | |
| run: pip install bandit | |
| - name: Run Bandit | |
| run: | | |
| bandit -r custom_components/enpal_webparser -ll |