I see that the custom:time-input-row is deprecated as the functionality is in Lovelace now.
Well that is great news…
BUT,
It doesn’t always work…
Here is ok:
- type: custom:config-template-card
entities:
- input_select.sensor_for_darkness
variables:
- states['input_select.sensor_for_darkness'].state
card:
type: custom:hui-entities-card
title: '-- Hall --'
show_header_toggle: false
entities:
- entity: "${vars[0] === 'brightness' ? 'input_number.hall_brightness_sensor_threshold' : 'input_number.hall_smartweather_illuminance_sensor_threshold' }"
- entity: input_datetime.hall_light_default_off_time
name: Default Dining Room light off time
- type: divider
style:
height: 4px
- type: divider
- type: divider
style:
height: 4px
# - type: custom:time-input-row
- entity: input_datetime.hall_light_off_time
name: Next Hall light off time
But here isn’t!!
- type: custom:fold-entity-row
head:
type: custom:toggle-lock-entity-row
entity: input_boolean.guest_mode_schedule_2
name: Guest schedule (2)
icon: mdi:numeric-2-box-outline
items:
- input_text.guest_mode_schedule_2_name
- input_select.guest_mode_schedule_2_day
# - type: custom:time-input-row
- input_datetime.guest_mode_schedule_2_start_time
- input_number.guest_mode_schedule_2_duration
EDIT: Also the datetime configs:
hall_light_default_off_time:
name: Hall light Default off time
has_date: False
has_time: true
# initial: '23:05'
icon: mdi:hotel
and
guest_mode_schedule_2_start_time:
name: Start time
has_date: False
has_time: true