Last active
July 6, 2024 16:26
-
-
Save vandernorth/1d550069614e04055d4e0bb3b317a6c7 to your computer and use it in GitHub Desktop.
HomeAssistant ITHO fan blueprint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Control ITHO Daalderop Fan RTS ECO | |
description: > | |
With this you can control a ITHO Daalderop RTS ECO fan through a numeric input. | |
Requirements: RFXTRX integration, a Numeric Input Helper with a range of 0 - 2 and step size of 1. 0 is off, 1 is medium 2 is hard. | |
domain: automation | |
input: | |
speed_input: | |
name: Numeric Input for speed | |
description: "Numeric input used to set the speed." | |
selector: | |
entity: | |
command_off: | |
name: Command Off | |
description: "Command to turn off the fan" | |
selector: | |
text: | |
default: "08170A0B6B66770100" | |
command_medium: | |
name: Command Medium | |
description: "Command to set the fan to medium speed" | |
selector: | |
text: | |
default: "08170A0B6B66770200" | |
command_hard: | |
name: Command Hard | |
description: "Command to set the fan to hard speed" | |
selector: | |
text: | |
default: "08170A0B6B66770300" | |
mode: restart | |
max_exceeded: silent | |
trigger: | |
- platform: state | |
entity_id: !input speed_input | |
id: numeric_change | |
action: | |
- choose: | |
- conditions: | |
- condition: trigger | |
id: numeric_change | |
sequence: | |
- choose: | |
- conditions: # switch off | |
- condition: template | |
value_template: "{{ (trigger.to_state.state | int) == 0 }}" | |
sequence: | |
- service: rfxtrx.send | |
data: | |
event: !input command_off | |
- delay: 1 | |
- conditions: # switch medium | |
- condition: template | |
value_template: "{{ (trigger.to_state.state | int) == 1 }}" | |
sequence: | |
- service: rfxtrx.send | |
data: | |
event: !input command_medium | |
- delay: 1 | |
- conditions: # switch hard | |
- condition: template | |
value_template: "{{ (trigger.to_state.state | int) == 2 }}" | |
sequence: | |
- service: rfxtrx.send | |
data: | |
event: !input command_hard | |
- delay: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment