gadgetchnnel / lovelace-home-feed-card

A custom Lovelace card for displaying a combination of persistent notifications, calendar events, and entities in the style of a feed.
275 stars 24 forks source link

Trying to format the calender entries as '{{title}} due in {{days_to-go}} day(s) on {{due_date}}' #112

Open aram535 opened 5 months ago

aram535 commented 5 months ago

I'm currently using input fields to get a date variable and then formatting a static markdown to get:

Car Inspection due in 87 day(s) on 07/31/2024 ...

Home-feed-card if doable would a great replacement to do this dynamically from a calendar. Is there anyway to format the entries this way?

type: custom:home-feed-card
title: Home Feed
show_empty: false
compact_mode: true
calendars:
  - calendar.hacal
more_info_on_tap: false
state_color: false
calendar_days_forward: 93