Skip to content

Commit

Permalink
Correct copy and paste mistake
Browse files Browse the repository at this point in the history
Correction of the copy and paste mistake by @GraafG
  • Loading branch information
frauhottelmann committed Sep 11, 2024
1 parent a110620 commit 5cc3d90
Showing 1 changed file with 0 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,68 +84,6 @@ uart:
# Register the Tuya MCU connection
tuya:

fan:
- platform: "tuya"
name: None
switch_datapoint: 1
speed_datapoint: 3
speed_count: 26

switch:
- platform: template
name: "Oscillate horizontally"
icon: mdi:arrow-left-right
turn_on_action:
then:
- select.set:
id: "horizontally"
option: "on"
turn_off_action:
then:
- select.set:
id: "horizontally"
option: "off"
lambda: |-
if (id(horizontally).state == "on") {
return true;
} else {
return false;
}
- platform: template
name: "Oscillate vertically"
icon: mdi:arrow-up-down
turn_on_action:
then:
- select.set:
id: "vertically"
option: "on"
turn_off_action:
then:
- select.set:
id: "vertically"
option: "off"
lambda: |-
if (id(vertically).state == "on") {
return true;
} else {
return false;
}
select:
- platform: "tuya"
id: "horizontally"
internal: true
name: "Oscillate horizontally"
enum_datapoint: 4
optimistic: true
options:
0: "off"
1: "on"

# Register the Tuya MCU connection
tuya:

fan:
- platform: "tuya"
name: None
Expand Down

0 comments on commit 5cc3d90

Please sign in to comment.