Skip to content

Releases: mtheli/gardena-smart-schedule

v0.1.2 — setup no longer blocks Home Assistant

Choose a tag to compare

@mtheli mtheli released this 19 Aug 21:04

Setup no longer blocks Home Assistant

Setting up the integration waited 30 seconds before doing anything, so that it would not ask the Gardena API for a token at the same moment as the main Gardena Smart System integration. Home Assistant cancels a config entry that takes that long, so the integration never finished loading — on a fresh install it looked as if the credentials were wrong, and after a restart the schedule sensors stayed away.

  • The integration finishes setting up right away — the schedule sensors appear about half a minute later, as soon as the first poll returns, instead of holding up the startup while nothing happens.
  • The delay against the main integration is unchanged — the first token request still waits 30 seconds, it just waits in the background now.
  • A failing poll is no longer visible as "Retrying setup" — expired credentials or an unreachable API are written to the log and retried on the next scan interval. Credentials that are wrong from the start are still caught while you set the integration up.

Reported by @josefstr in #2, together with the analysis and the fix — thank you!

v0.1.1

Choose a tag to compare

@mtheli mtheli released this 18 May 19:33

Diagnostics-only release

Adds debug logging to help identify why single-valve devices (e.g. Smart Water Control) don't expose schedule sensors — see #1.

How to enable

In configuration.yaml:

logger:
  default: warning
  logs:
    custom_components.gardena_smart_schedule: debug

Restart Home Assistant, wait 1–2 minutes, then grep home-assistant.log for gardena_smart_schedule.

What's logged

  • Devices present in the Gardena API but missing from the schedule API
  • Devices listed without scheduled_events, including their top-level keys
  • HTTP errors / timeouts on the schedule API call

No behavioral changes.

v0.1.0

Choose a tag to compare

@mtheli mtheli released this 23 Mar 22:50

Initial Release

Home Assistant custom integration that fetches Gardena Smart System schedule data from the Husqvarna cloud API and exposes it as sensor entities.

Features

  • OAuth authentication with automatic token refresh
  • Schedule data for mowers, irrigation controls, water controls, and power sockets
  • Multi-valve support with per-valve schedule sensors
  • Schedule pause state tracking
  • Configurable polling interval (15–1440 minutes)
  • Multi-location support
  • Re-authentication and reconfiguration flows

Usage

Companion integration for the Gardena Smart System Card — enables schedule display (times and weekdays) on the card.