timer-bar-card icon indicating copy to clipboard operation
timer-bar-card copied to clipboard

waiting_state and start_time { entity } config showing "Invalid Date"

Open gwilford opened this issue 5 months ago • 2 comments

Describe the bug "Invalid Date" is displayed instead of the start time while in waiting state:

Bosch Dishwasher - Operation state         Delayed Start Invalid Date

Both start_time and end_time entities are defined and are of type device_class: timestamp:

2024-03-12T00:06:39+00:00
2024-03-12T02:25:06+00:00

Is the start_time entity config being ignored or overriden by the main entity state/start_time attribute?

Your card configuration

type: custom:timer-bar-card
entities:
  - sensor.402100530466009091_bsh_common_status_operationstate
active_state: BSH.Common.EnumType.OperationState.Run
waiting_state: BSH.Common.EnumType.OperationState.DelayedStart
icon: mdi:clock-end
start_time:
  entity: sensor.dishwasher_delayed_start_time
end_time:
  entity: sensor.402100530466009091_bsh_common_option_remainingprogramtime
debug: true
translations:
  BSH.Common.EnumType.OperationState.Ready: Ready
  BSH.Common.EnumType.OperationState.Finished: Finished
  BSH.Common.EnumType.OperationState.DelayedStart: Delayed Start
  BSH.Common.EnumType.OperationState.Run: Run

Debug information

State: BSH.Common.EnumType.OperationState.DelayedStart (state mode = waiting)
Mode: waiting (auto mode = N/A, unused)
Duration: 8307 second
Time remaining: 11140.116
Counter: 11140.116
Did you set active_state? Attr: {"device_class":"home_connect_alt__status","icon":"mdi:gauge-full","friendly_name":"Bosch Dishwasher - Operation state"}

gwilford avatar Mar 11 '24 23:03 gwilford