Skip to content

Commit

Permalink
Release Candidate v0.7.2 (#83)
Browse files Browse the repository at this point in the history
* Update checkout to v3
* Sort manifest
* Remove data range for baseball
  • Loading branch information
vasqued2 authored Mar 25, 2023
1 parent 1ca06b1 commit beaa1c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hassfest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v3"
- uses: home-assistant/actions/hassfest@master
2 changes: 1 addition & 1 deletion custom_components/teamtracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ async def async_call_api(self, config, hass, lang) -> dict:

url_parms = "?lang=" + lang[:2] + "&limit=" + str(API_LIMIT)

if sport_path != 'tennis':
if sport_path not in ('tennis', 'baseball'):
d1 = (date.today() - timedelta(days=1)).strftime("%Y%m%d")
d2 = (date.today() + timedelta(days=5)).strftime("%Y%m%d")
url_parms = url_parms + "&dates=" + d1 + "-" + d2
Expand Down
10 changes: 5 additions & 5 deletions custom_components/teamtracker/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"domain": "teamtracker",
"name": "Team Tracker",
"version": "0.1",
"documentation": "https://github.com/vasqued2/ha-teamtracker",
"issue_tracker": "https://github.com/vasqued2/ha-teamtracker/issues",
"dependencies": [],
"codeowners": ["@vasqued2"],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/vasqued2/ha-teamtracker",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/vasqued2/ha-teamtracker/issues",
"requirements": ["arrow", "aiofiles"],
"iot_class": "cloud_polling"
"version": "0.1"
}

0 comments on commit beaa1c0

Please sign in to comment.