File tree Expand file tree Collapse file tree
custom_components/omnik_inverter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 description : " There has not been activity on this issue or PR for quite some time."
3939- name : " no-stale"
4040 color : fef2c0
41- description : " This issue or PR is exempted from the stable bot."
41+ description : " This issue or PR is exempted from the stale bot."
4242
4343- name : " security"
4444 color : ee0701
Original file line number Diff line number Diff line change 1+ ---
2+ name : Stale
3+
4+ # yamllint disable-line rule:truthy
5+ on :
6+ schedule :
7+ - cron : " 0 8 * * *"
8+ workflow_dispatch :
9+
10+ jobs :
11+ stale :
12+ name : 🧹 Clean up stale issues and PRs
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : 🚀 Run stale
16+ uses : actions/stale@v4
17+ with :
18+ repo-token : ${{ secrets.GITHUB_TOKEN }}
19+ days-before-stale : 14
20+ days-before-close : 7
21+ remove-stale-when-updated : true
22+ stale-issue-label : " stale"
23+ exempt-issue-labels : " no-stale,help-wanted"
24+ stale-issue-message : >
25+ There hasn't been any activity on this issue recently, so we
26+ clean up some of the older and inactive issues.
27+
28+ Please make sure to update to the latest version and
29+ check if that solves the issue. Let us know if that works for you
30+ by leaving a comment 👍
31+
32+ This issue has now been marked as stale and will be closed if no
33+ further activity occurs. Thanks!
34+ stale-pr-label : " stale"
35+ exempt-pr-labels : " no-stale"
36+ stale-pr-message : >
37+ There hasn't been any activity on this pull request recently. This
38+ pull request has been automatically marked as stale because of that
39+ and will be closed if no further activity occurs within 7 days.
40+ Thank you for your contributions.
Original file line number Diff line number Diff line change @@ -104,11 +104,12 @@ def __init__(
104104 password = self .config_entry .data [CONF_PASSWORD ],
105105 session = async_get_clientsession (hass ),
106106 )
107- self .omnikinverter = OmnikInverter (
108- host = self .config_entry .data [CONF_HOST ],
109- source_type = self .config_entry .data [CONF_SOURCE_TYPE ],
110- session = async_get_clientsession (hass ),
111- )
107+ else :
108+ self .omnikinverter = OmnikInverter (
109+ host = self .config_entry .data [CONF_HOST ],
110+ source_type = self .config_entry .data [CONF_SOURCE_TYPE ],
111+ session = async_get_clientsession (hass ),
112+ )
112113
113114 async def _async_update_data (self ) -> OmnikInverterData :
114115 """Fetch data from Omnik Inverter."""
Original file line number Diff line number Diff line change 22 "domain" : " omnik_inverter" ,
33 "name" : " Omnik Inverter" ,
44 "config_flow" : true ,
5- "version" : " 2.0 .0" ,
5+ "version" : " 2.1 .0" ,
66 "documentation" : " https://github.com/robbinjanssen/home-assistant-omnik-inverter" ,
77 "issue_tracker" : " https://github.com/robbinjanssen/home-assistant-omnik-inverter/issues" ,
88 "codeowners" : [
Original file line number Diff line number Diff line change 4141 }
4242 }
4343 }
44- }
44+ }
You can’t perform that action at this time.
0 commit comments