fineemb / lovelace-thermostat-card

Thermostat Lovelace card
Other
109 stars 27 forks source link

If you don't set a title then 'Title' is shown #29

Open ZuluWhiskey opened 3 years ago

ZuluWhiskey commented 3 years ago

I've just set this up, thank you firstly for the hard work on this!

Version: 1.3.0

When adding this card to Lovelace but I don't utilise the title: option my thermostat just shows "Title", when I assume it should be blank instead? YAML:

type: 'custom:thermostat-card'
entity: climate.hallway_thermostat

Screenshot: therm

Thanks in advance 😄

cdrom1028 commented 3 years ago

Can you implement a new config option for show_title: with an option to disable please?

for what its worth, with the addition of the new API from Google to support Nest, this will be a much more popular card!!

ZuluWhiskey commented 3 years ago

Can you implement a new config option for show_title: with an option to disable please?

for what its worth, with the addition of the new API from Google to support Nest, this will be a much more popular card!!

I'm under the impression that wouldn't be needed as the title is optional - I'd assume that with it being optional, if you don't include a title then no title would be shown 👍

Devqon commented 3 years ago

I think it would make more sense that it defaults to the name of de climate entity. With most other entities it would work something like this:

Seaniau commented 1 year ago

Use this as a workaround: title: " "