esphome:   name: a8m   friendly_name: ESPHome Web FN-lade   platform: ESP32   board: esp32dev     remote_receiver:   pin: 16   dump:     - rc_switch   tolerance: 50%   filter: 250us   idle: 2ms   buffer_size: 2kb # Enable Home Assistant API api:   encryption:     key: "8xxxxxxxxxxxxxxxxxxxxxxxxxxSE=" ota:   # Example configuration entry for ESP32 i2c:   sda: 4   scl: 5   scan: true   id: bus_a # Example configuration entry ethernet:   type: LAN8720   mdc_pin: GPIO23   mdio_pin: GPIO18   clk_mode: GPIO17_OUT   phy_addr: 0   # Optional manual IP   manual_ip:     static_ip: 192.168.0.16     gateway: 192.168.0.1     subnet: 255.255.255.0   # Example configuration entry pcf8574:   - id: 'pcf8574_hub_out_1'  # for output channel 1-8     address: 0x24   - id: 'pcf8574_hub_in_1'  # for input channel 1-8     address: 0x22 # Individual outputs switch:   - platform: gpio     name: "light1"     id: light1     pin:       pcf8574: pcf8574_hub_out_1       number: 0       mode: OUTPUT       inverted: false   - platform: gpio     name: "light2"     id: light2     pin:       pcf8574: pcf8574_hub_out_1       number: 1       mode: OUTPUT       inverted: false         - platform: gpio     name: "light3"     id: light3     pin:       pcf8574: pcf8574_hub_out_1       number: 2       mode: OUTPUT       inverted: false         - platform: gpio     name: "light4"     id: light4     pin:       pcf8574: pcf8574_hub_out_1       number: 3       mode: OUTPUT       inverted: false         - platform: gpio     name: "light5"     id: light5     pin:       pcf8574: pcf8574_hub_out_1       number: 4       mode: OUTPUT       inverted: false                     - platform: gpio     name: "light6"     id: light6     pin:       pcf8574: pcf8574_hub_out_1       number: 5       mode: OUTPUT       inverted: false         - platform: gpio     name: "light7"     id: light7     pin:       pcf8574: pcf8574_hub_out_1       number: 6       mode: OUTPUT       inverted: false         - platform: gpio     name: "light8"     id: light8     pin:       pcf8574: pcf8574_hub_out_1       number: 7       mode: OUTPUT       inverted: false       binary_sensor:    - platform: gpio      name: "input1"      pin:       pcf8574: pcf8574_hub_in_1       number: 0       mode: INPUT       inverted: true      on_press:       then:       - switch.toggle: light1    - platform: gpio      name: "input2"      pin:       pcf8574: pcf8574_hub_in_1       number: 1       mode: INPUT       inverted: true      on_press:       then:         - switch.toggle: light2    - platform: gpio      name: "input3"      pin:       pcf8574: pcf8574_hub_in_1       number: 2       mode: INPUT       inverted: true      on_press:       then:         - switch.toggle: light3    - platform: gpio      name: "input4"      pin:       pcf8574: pcf8574_hub_in_1       number: 3       mode: INPUT       inverted: true      on_press:       then:         - switch.toggle: light4    - platform: gpio      name: "input5"      pin:       pcf8574: pcf8574_hub_in_1       number: 4       mode: INPUT       inverted: true      on_press:       then:         - switch.toggle: light5    - platform: gpio      name: "input6"      pin:       pcf8574: pcf8574_hub_in_1       number: 5       mode: INPUT       inverted: true      on_press:       then:         - switch.toggle: light6    - platform: gpio      name: "input7"      pin:       pcf8574: pcf8574_hub_in_1       number: 6       mode: INPUT       inverted: true      on_press:       then:         - switch.toggle: light7    - platform: gpio      name: "input8"      pin:       pcf8574: pcf8574_hub_in_1       number: 7       mode: INPUT       inverted: true      on_press:       then:         - switch.toggle: light8 # min kode fjernbetjening øverst    - platform: remote_receiver      name: "remoter1"      rc_switch_raw:       code: '0001111100011001001100000110011111010010101010111111111111111011'       protocol: 1      on_press:       then:         - switch.toggle: light1      filters:       - delayed_off: 200ms    - platform: remote_receiver      name: "remoter2"      rc_switch_raw:       code: '000101000101010100001100'       protocol: 2      on_press:       then:         - switch.toggle: light2      filters:       - delayed_off: 200ms          - platform: remote_receiver      name: "remoter3"      rc_switch_raw:       code: '001111010111001010110100'       protocol: 2      on_press:       then:         - switch.toggle: light3      filters:       - delayed_off: 200ms          - platform: remote_receiver      name: "remoter4"      rc_switch_raw:       code: '001111010111001010111001'       protocol: 2      on_press:       then:         - switch.toggle: light4      filters:       - delayed_off: 200ms          - platform: remote_receiver      name: "remoter5"      rc_switch_raw:       code: '001111010111001010110010'       protocol: 2      on_press:       then:         - switch.toggle: light5      filters:       - delayed_off: 200ms    - platform: remote_receiver      name: "remoter6"      rc_switch_raw:       code: '001111010111001010110101'       protocol: 2      on_press:       then:         - switch.toggle: light6      filters:       - delayed_off: 200ms          - platform: remote_receiver      name: "remoter7"      rc_switch_raw:       code: '001111010111001010110001'       protocol: 2      on_press:       then:         - switch.toggle: light7      filters:       - delayed_off: 200ms          - platform: remote_receiver      name: "remoter8"      rc_switch_raw:       code: '001111010111001010110011'       protocol: 2      on_press:       then:         - switch.toggle: light8      filters:       - delayed_off: 200ms       # Enable logging logger: