Google calendar dynamic event search

I have a calendar entry similar to this:

- cal_id: "*****@group.calendar.google.com"
  entities:
  - device_id: test_important
    name: Important Stuff
    track: true
    search: "#Important"

What I want to do is search for dynamic events, like this:

- cal_id: "*****@group.calendar.google.com"
  entities:
  - device_id: test_important
    name: Important Stuff
    track: true
    search: {{some_template_sensorvalue}}

I assume it would be a reasonably easy code change? @cgtobi @fabaff @balloob ?

From this I intend to search forward to the next event which has a (known) date attribute.

Thanks :slight_smile: