Hive-Custom-Component icon indicating copy to clipboard operation
Hive-Custom-Component copied to clipboard

[BUG] Time Period in Dev Tools is showing as time input

Open holdestmade opened this issue 3 years ago • 5 comments

Describe the bug Time Period in Dev Tools > Services is showing as time input instead of a duration. It works OK but is confusing that there is an AM/PM field

To Reproduce In Dev Tools > Services, select Hive: Boost Heating On

Expected behaviour Show a time duration instead of a time

Screenshots Untitled

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Chrome

Additional context Home Assistant 2022.7.6 Hive 2022.7.3

holdestmade avatar Jul 27 '22 08:07 holdestmade

@holdestmade for you home assistant configuration is it setup as a 12 hour clock or a 24 hour one?

KJonline avatar Nov 03 '22 18:11 KJonline

Hi, I use a 12hr time format (UK). If I switch to 24hr it goes away.

Its a Time Period, ie duration, not a time so shouldn't show the AM/PM

Additional context Home Assistant 2022.11.1 Hive CC 2022.10.0

holdestmade avatar Nov 04 '22 08:11 holdestmade

I’ll have a look at what home assistant offer but I am limited to what options they give.

KJonline avatar Nov 04 '22 14:11 KJonline

OK, it doesn't affect anything just looks weird. If you switch to YAML mode it is ok

holdestmade avatar Nov 04 '22 15:11 holdestmade