Skip to content

v0.6.0 — History rounding + kayloehmann v1.5.5+ migration

Choose a tag to compare

@mtheli mtheli released this 21 Apr 07:41

Fixed

  • History chart showed watering times slightly too short. Math.round rounded values like 9.4 min down to 9 instead of up to 10, even though the actual watering ran for 10 min — HA polling loses a few seconds at the edges. Now uses Math.ceil: small polling jitter is compensated upwards.
  • Polling-related discrepancies for scheduled watering (a known behavior in kayloehmann <v1.7.0, where the closed event is delayed) remain. Updating to kayloehmann v1.12.4 is recommended — the WebSocket watchdog kicks in there.

Changed

  • kayloehmann v1.5.5+ compatibility. extra_state_attributes were removed in v1.5.5 for switch (socket) and lawn_mower. The card now reads mower activity, battery state, error code and socket activity directly from the dedicated sensor entities (mower_activity, battery_state, mower_last_error_code, power_socket_state, *_remaining_duration). thecem fork unchanged — attributes are still used there as a fallback.