TimeFlow Card v3.1.3
TimeFlow Card v3.1.3
New Features
Subtitle Prefix & Suffix: Customize Your Countdown Text!
You can now add custom text before and after the countdown display. This is perfect for natural language like "in 5 days" or "3 hours remaining!".
- subtitle_prefix: Text to display before the countdown (e.g., "in", "Only")
- subtitle_suffix: Text to display after the countdown (e.g., "left", "remaining")
Example:
type: custom:timeflow-card
title: "Vacation Countdown"
target_date: "2026-07-15T00:00:00"
subtitle_prefix: "Only"
subtitle_suffix: "remaining!"
# Result: "Only 5 days 3 hours remaining!"
Another example for a minimal look:
subtitle_prefix: ""
subtitle_suffix: "left"
# Result: "5 days 3 hours left"
Note: Prefix and suffix only apply to the auto-generated countdown text. They do not apply to custom subtitle text or expired_text.
Performance Improvements
WebSocket Template Rendering
Template evaluation now uses Home Assistant's WebSocket subscription API instead of HTTP API calls. This provides:
- Faster updates: Templates now receive real-time push updates instead of polling
- Lower resource usage: Reduces load on both the browser and Home Assistant server
- Better performance on older devices: Significantly reduces CPU usage during template evaluation
- Automatic cache management: Subscriptions are automatically cleaned up when the card is removed
This change is completely transparent—your existing template configurations will continue to work without any changes.
Please clear your browser cache after updating to ensure the new changes load correctly.