artem-sedykh / mini-climate-card

Minimalistic climate card for Home Assistant Lovelace UI
MIT License
281 stars 19 forks source link

v2.5.0 broke for me #119

Closed TomaszDom closed 1 year ago

TomaszDom commented 1 year ago

I have had the same configuration for months, after updating to v2.5.0 it broke for me.

Screenshot_20230409_111139_Home Assistant

This is my configuration (one of many which broke but they just differ by entity)

type: custom:mini-climate entity: climate.lazienka_grzejnik target_temperature: step: 0.5 secondary_info: hvac-mode indicators: valve: icon: mdi:valve unit: '%' round: 1 source: entity: sensor.lazienka_grzejnik_position preset_mode: icon: mdi:car-cruise-control source: attribute: preset_mode icon: mdi:radiator fan_mode: hide: 'on' active: false icon: mdi:none disabled: true buttons: preset_mode: type: dropdown location: main icon: mdi:thermometer state: attribute: preset_mode active: state => state !== 'none' source: eco: Eco comfort: Comfort boost: Boost manual: Manual change_action: > (selected, state, entity) => this.call_service('climate', 'set_preset_mode', { entity_id: entity.entity_id, preset_mode: selected })

regevbr commented 1 year ago

Hide should be a boolean

TomaszDom commented 1 year ago

I changed it and now it's working again. Thanks. I've had this config for a very long time without any changes so something changed in the code that broke it.