Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Freebox to 1.2.1 #133455

Merged
merged 4 commits into from
Dec 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "fix mypy"
This reverts commit 20cbcd7.
  • Loading branch information
Quentame committed Dec 19, 2024
commit b974202a1847ee6c3ca7e24939aac1ec643ab1f5
3 changes: 2 additions & 1 deletion homeassistant/components/freebox/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import json
import logging
import os
from pathlib import Path
import re
from typing import Any

Expand Down Expand Up @@ -59,7 +60,7 @@ async def get_api(hass: HomeAssistant, host: str) -> Freepybox:
if not os.path.exists(freebox_path):
await hass.async_add_executor_job(os.makedirs, freebox_path)

token_file: str = f"{freebox_path}/{slugify(host)}.conf"
token_file = Path(f"{freebox_path}/{slugify(host)}.conf")

return Freepybox(APP_DESC, token_file, API_VERSION)

Expand Down