Pyhass / Hive-Custom-Component

A custom version of the home assistant hive component
MIT License
33 stars 17 forks source link

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

Open holdestmade opened 2 years ago

holdestmade commented 2 years ago

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):

Additional context Home Assistant 2022.7.6 Hive 2022.7.3

KJonline commented 1 year ago

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

holdestmade commented 1 year ago

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

KJonline commented 1 year ago

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

holdestmade commented 1 year ago

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