Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- humidifier:
- - platform: humidifier_template
- name: "Hiatachi RD-22FC"
- unique_id: rd22fc_dehumidifier
- switch_id: "fan.rd22fc_fan"
- state_template: "{{ states('fan.rd22fc_fan') }}"
- mode_template: "{{ state_attr('fan.rd22fc_fan', 'preset_mode') }}"
- current_humidity_template: "{{ states('sensor.rd22fc_humidity_indoor') }}"
- target_humidity_template: "{ states('number.rd22fc_relative_humidity') }}"
- mode_list_template: "{{ state_attr('fan.rd22fc_fan', 'preset_modes') }}"
- action_template: "{{ state_attr('fan.rd22fc_fan', 'preset_mode') }}"
- max_humidity: 70
- min_humidity: 40
- type: dehumidifier
- modes:
- - "normal"
- - "home"
- - "boost"
- - "sleep"
- - "eco"
- set_mode_action:
- - service: fan.set_preset_mode
- target:
- entity_id: fan.rd22fc_fan
- data:
- preset_mode: "{{ mode }}"
- set_target_humidity_action:
- - service: number.set_value
- target:
- entity_id: number.rd22fc_relative_humidity
- data:
- value: "{{ humidity }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement