Hi, i need some help cause i’m loosing my mind over this. I’ve also posted on reddit, without success for now.
I’m switching from che card type: thermostat by Home Assitant to the Mini Climate Card, and with the Mini Climate Card i can’t set the Swing of the AC to Both. Just off or vertically. It work just fine with the Thermostat card.
This is the log of the call_service:
With Thermostat card IT WORK:
event_type: call_service
data:
domain: climate
service: set_swing_mode
service_data:
entity_id: climate.condizionatore_letto
swing_mode: both
origin: LOCAL
time_fired: "2025-10-09T11:06:03.394419+00:00"
context:
id: 01K74ACGR2D5BVM700GGP37KRT
parent_id: null
user_id: ///
With Mini Climate Card IT DOESN’T:
event_type: call_service
data:
domain: climate
service: set_swing_mode
service_data:
entity_id: climate.condizionatore_letto
swing_mode: both
origin: LOCAL
time_fired: "2025-10-09T11:06:11.962163+00:00"
context:
id: 01K74ACS3T098PQYSSAR6HFVYQ
parent_id: null
user_id: ///
and this is the button configuration on the mini climate card (the vertical and off setting works):
buttons:
swing_modes:
style: "(value, entity) => ({ color: 'black !important' })"
type: dropdown
icon: mdi:approximately-equal
state:
attribute: swing_mode
active: state => state !== 'off'
source:
"off": "Off"
both: Both
vertical: Vertical
change_action: >
(selected, state, entity) => this.call_service('climate',
'set_swing_mode', { entity_id: entity.entity_id, swing_mode: selected })
The attribute of the entity it’s correct, i checked on the developer tools.
So:
- I think the code on the card is ok, cause the other two setting works, and ican see that the call_service is correct
- the ac unit can be set on swing mode both, it’s phisically possible and it’s an option name ‘both’ on the entity attributes
- the exactly identical call_service is made from the card type thermostat works
I’m really struggling on this one…