‘’'After a week week of struggling (I am pretty new to HA) I managed to make some nice cards for my 5 Fujitu’s. And got it all working (inlcuding set fan speed / operation mode)
I used two HACS integrations:
Button-card and Multiple Entity Row card.
Since I rent out this house I have put some extra’s in it like When the requested temp (from the remote controller get’s lower than the change temp slider it turn bold and red.
I made some automations as well: If my shelly door/window sensor stay open for >120 secs. the Livingroom airco turns off. The same counts for all the bedroom aircons.
Personally I really like the tap buttons for the OP Mode, however I can’t get the icons lit up in yellow as soon as one is tapped (and active). It should adjust to yellow regarding the value of iu_op_mode eventually. Maybe someone know how to do tis?
Here’s my yaml for one of them (Sorry I don’t know how to insert it as a copy field):
type: entities
title: Airco Bedroom 2
state_color: true
entities:
- type: custom:button-card
entity: script.airco_bedroom2_toggle
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.airco_bedroom2_toggle
show_icon: false
show_name: true
name: |
[[[
if (states[‘binary_sensor.airco_bedroom2_powered’].state === ‘on’) return ‘Powered on - Turn Off’;
else return ‘Powered off - Turn On’;
]]]
styles:
card:
- background-color: |
[[[
if (states[‘binary_sensor.airco_bedroom2_powered’].state === ‘on’) return ‘#90EE90’;
else return ‘#FF7F7F’;
]]]
name:
- font-weight: bold - entity: sensor.requested_temp_airco_bedroom2
name: Requested Temperature
icon: mdi:remote
state_color: true
style: |
:host {
font-weight: {% if states(‘sensor.requested_temp_airco_bedroom2’) | float < states(‘input_number.setaircotempbedroom2’) | float %} bold {% else %} normal {% endif %};
color: {% if states(‘sensor.requested_temp_airco_bedroom2’) | float < states(‘input_number.setaircotempbedroom2’) | float %} red {% else %} inherit {% endif %};
} - entity: input_number.setaircotempbedroom2
name: Change temperature - type: custom:multiple-entity-row
entity: sensor.operational_mode_airco_bedroom1_friendlyname
name: ’ ’
icon: mdi:cog-outline
state_icon:
‘0’: mdi:auto-mode
‘1’: mdi:snowflake
‘2’: mdi:water-off-outline
‘3’: mdi:fan
‘4’: mdi:radiator
entities:- icon: mdi:auto-mode
tap_action:
action: call-service
service: input_number.set_value
service_data:
entity_id: input_number.setaircooperationalmodebedroom2
value: 0 - icon: mdi:snowflake
tap_action:
action: call-service
service: input_number.set_value
service_data:
entity_id: input_number.setaircooperationalmodebedroom2
value: 1 - icon: mdi:water-off-outline
tap_action:
action: call-service
service: input_number.set_value
service_data:
entity_id: input_number.setaircooperationalmodebedroom2
value: 2 - icon: mdi:fan
tap_action:
action: call-service
service: input_number.set_value
service_data:
entity_id: input_number.setaircooperationalmodebedroom2
value: 3 - icon: mdi:radiator
tap_action:
action: call-service
service: input_number.set_value
service_data:
entity_id: input_number.setaircooperationalmodebedroom2
value: 4
- icon: mdi:auto-mode
I hope you guy;s like it and can do somthing with it
Regards, Mark’’’