Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC 868 AG - YAML Code
#1
I've edited YAML code for IR gateway. I'm recieving error message related to "if" command - "Component not found if."

The code:

remote_receiver:
  pin: GPIO23
  dump: all

binary_sensor:
  - platform: remote_receiver
    name: "TEST"
    pronto:
      data: "0000 006D 0022 0000 0151 00AD 0015 0014 0017 0041 0015 0014 0017 0016 0015 0044 0012 0014 0017 0044 0013 0018 0013 0043 0013 0016 0015 0044 0012 0044 0013 0016 0015 0043 0013 0016 0015 0044 0013 0016 0015 0041 0016 0015 0015 0041 0016 0040 0015 0014 0017 0013 0018 0013 0018 003F 0018 0013 0018 003F 0019 0012 0018 0013 0018 003F 0018 003F 0018 003F 0018 06C3"

if:
  condition:
    binary_sensor.is_on: TEST
  then:
    - mqtt.publish:
        topic: IR_Bridge
        payload: "Something happened!"


component not found if.
component not found if.
Reply


Messages In This Thread
KC 868 AG - YAML Code - by nrnr - 08-23-2022, 07:14 PM
RE: KC 868 AG - YAML Code - by admin - 08-23-2022, 10:54 PM
RE: KC 868 AG - YAML Code - by nrnr - 08-24-2022, 05:39 AM
RE: KC 868 AG - YAML Code - by admin - 08-23-2022, 10:55 PM
RE: KC 868 AG - YAML Code - by admin - 08-24-2022, 06:20 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)