You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto (this is the "money saver" mode, but needs to be a supported mode, so I named it 'auto')
Fan Modes:
low
medium
high
Note: sending any of these codes will not turn on the air conditioner. They will only have an effect if the appliance is already turned on.
To get around this, I created an ir switch from the broadlink integration to act as a virtual switch with a single on and off command. Put the following into ir_switches.yaml (and be sure the file is included in your configuration):
switch:
- platform: broadlink
mac: MAC ADDRESS OF YOUR BROADLINK REMOTE (like aa:bb:cc:dd:ee:ff)
switches:
- name: AC Switch
command_on: JgBAAF8AAT8QNA8SDxIQEg8zEBIREBIQEBEQMxAREBEQEhAzEDQREBIQDzQPEg8TDxIPNA8SEBIPEw8SDzQPEg8ADQU=
command_off: JgBAAGAAAT8RMhIQDxIPEg81EBIPEhASDzMQMxASEBIPEg8SEBIQERAREBIQERASDxIQMxAREDMQEg8SEBIQMw8ADQU=
Add a climate device (from smart ir integration) as follows:
climate:
- platform: smartir
name: My AC
unique_id: my_ac
device_code: 73756214
controller_data: remote.my_universal_remote
power_sensor: switch.ac_switch (this was created above)
Finally, create an automation to look for changes on the climate device which will turn on the appliance and set the states according to the information on the climate card:
alias: AC Set State
description: Set state of ac when turned on
trigger:
- platform: state
entity_id:
- climate.my_ac
to: null
condition:
- condition: template
value_template: "{{ not (states('climate.my_ac') in ['unavailable','unknown']) }}"
action:
- if:
- condition: not
conditions:
- condition: state
entity_id: climate.my_ac
state: "off"
then:
- service: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.ac_switch
- service: climate.set_fan_mode
metadata: {}
data:
fan_mode: "{{ states.climate.my_ac.attributes.fan_mode }}"
target:
entity_id: climate.my_ac
- if:
- condition: not
conditions:
- condition: state
entity_id: climate.my_ac
state: "on"
then:
- service: climate.set_temperature
metadata: {}
data:
hvac_mode: "{{ states('climate.my_ac') }}"
temperature: "{{ states.climate.my_ac.attributes.temperature }}"
target:
entity_id: climate.my_ac
else:
- service: climate.set_temperature
metadata: {}
data:
hvac_mode: auto
temperature: "{{ states.climate.my_ac.attributes.temperature }}"
target:
entity_id: climate.my_ac
else:
- service: switch.turn_off
metadata: {}
data: {}
target:
entity_id: switch.ac_switch
mode: single
I used broadlink-listener to read the codes from my Broadlink RM Mini 3.
The text was updated successfully, but these errors were encountered:
73756214.json
Attached .json file works with Friedrich remote for models listed. Amazon Listing
Supported Models:
Temperature Range:
Operation modes:
Fan Modes:
Note: sending any of these codes will not turn on the air conditioner. They will only have an effect if the appliance is already turned on.
To get around this, I created an ir switch from the broadlink integration to act as a virtual switch with a single on and off command. Put the following into ir_switches.yaml (and be sure the file is included in your configuration):
Add a climate device (from smart ir integration) as follows:
Finally, create an automation to look for changes on the climate device which will turn on the appliance and set the states according to the information on the climate card:
I used broadlink-listener to read the codes from my Broadlink RM Mini 3.
The text was updated successfully, but these errors were encountered: