Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 4 additions & 2 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,9 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

# home-assistant/builder doesn't support sha pinning
- name: Build base image
uses: home-assistant/builder@71885366c80f6ead6ae8c364b61d910e0dc5addc # 2025.03.0
uses: home-assistant/[email protected]
with:
args: |
$BUILD_ARGS \
Expand Down Expand Up @@ -262,8 +263,9 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

# home-assistant/builder doesn't support sha pinning
- name: Build base image
uses: home-assistant/builder@71885366c80f6ead6ae8c364b61d910e0dc5addc # 2025.03.0
uses: home-assistant/[email protected]
with:
args: |
$BUILD_ARGS \
Expand Down
5 changes: 4 additions & 1 deletion homeassistant/components/ntfy/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ async def ws_connect(self) -> None:
return
except NtfyForbiddenError:
if self._attr_available:
_LOGGER.error("Failed to subscribe to topic. Topic is protected")
_LOGGER.error(
"Failed to subscribe to topic %s. Topic is protected",
self.topic,
)
self._attr_available = False
ir.async_create_issue(
self.hass,
Expand Down
7 changes: 7 additions & 0 deletions homeassistant/components/prusalink/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@

from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.debounce import Debouncer
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed

from .const import DOMAIN

_LOGGER = logging.getLogger(__name__)

# Allow automations using homeassistant.update_entity to collect
# rapidly-changing metrics.
_MINIMUM_REFRESH_INTERVAL = 1.0

T = TypeVar("T", PrinterStatus, LegacyPrinterStatus, JobInfo)

Expand All @@ -49,6 +53,9 @@ def __init__(
config_entry=config_entry,
name=DOMAIN,
update_interval=self._get_update_interval(None),
request_refresh_debouncer=Debouncer(
hass, _LOGGER, cooldown=_MINIMUM_REFRESH_INTERVAL, immediate=True
),
)

async def _async_update_data(self) -> T:
Expand Down
Loading