That is a possibility. But it will fail when it is e.g. 00:08. Input_datetime.tomorrow is calculated when workday turns to weekend or holiday and vice versa:
Automation:
alias: Update tomorrow
description: ""
triggers:
- trigger: state
entity_id:
- binary_sensor.workday_sensor
to: "on"
conditions: []
actions:
- action: script.determine_tomorrow
metadata: {}
data: {}
mode: single
According to your first post, input_datetime.tomorrow is configured to contain both date and time. How can it simply report 00:08 without also including the date?
If you want another way to do it, you can use the Input Datetime’s timestamp value with the timestamp_custom filter.