Closed FreddyMbN closed 2 years ago
How's this.
switch:
- platform: rpi_rf
gpio: 17
switches:
Stern:
pulselength: 300
protocol: 1
code_on: 1394001
code_off: 1394004
signal_repetitions: 10
Druckerbeleuchtung:
protocol: 1
pulselength: 300
code_on: 1397073
code_off: 1397076
signal_repetitions: 10
oh, that was miformatted by pasting in.
the error occures allready by writing this
- platform: rpi_rf
gpio: 17
switches:
Stern:
pulselength: 300
protocol: 1
code_on: 1394001
code_off: 1394004
signal_repetitions: 10
oh, that was miformatted by pasting in.
the error occures allready by writing this
- platform: rpi_rf gpio: 17 switches: Stern: pulselength: 300 protocol: 1 code_on: 1394001 code_off: 1394004 signal_repetitions: 10
gpio: and switches: need to aligned the same as platform:
Then the switch name "Stern" is set in 2 spaces, then pulselength etc are set in a further 2 spaces
omg thx i didnt think about it, cause this configuration worked for months
Glad you got sorted, let me know if you have any other issues.
hi,
i have an issue with the configuration.yaml since i have updated homeassistant. i also updatred hacs, rpi_gpio and rpi_rf.
ERROR-Message: bad indentation of a mapping entry at line 58, column 9: gpio: 17
Has somebody any clue about a solution?