Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: lolin
- esp8266:
- board: nodemcuv2
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- ota:
- password: "123123"
- wifi:
- ssid: !secret wifi_ssid
- password: !secret wifi_password
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Lolin Fallback Hotspot"
- password: "123123"
- captive_portal:
- ###############################################################################
- i2c:
- sda: 4
- scl: 5
- scan: True
- id: bus_a
- mcp23017:
- - id: 'mcp23017_hub'
- address: 0x27
- - id: 'mcp23017_hub1'
- address: 0x26
- - id: 'mcp23017_hub2'
- address: 0x25
- # status
- # - id: 'mcp23017_hub3'
- # address: 0x20
- # - id: 'mcp23017_hub4'
- # address: 0x21
- # - id: 'mcp23017_hub5'
- # address: 0x22
- # - id: 'mcp23017_hub6'
- # address: 0x23
- switch:
- - platform: restart
- name: LoLin Restart
- # ##################################
- ### Switche Hub
- # H1-1
- - platform: gpio
- name: "Spiżarka"
- pin:
- mcp23xxx: mcp23017_hub
- number: 0
- mode: OUTPUT
- inverted: False
- id: spizarka
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: spizarka
- - platform: template
- name: "spizarka template"
- icon: "mdi:lamp"
- turn_on_action:
- - switch.turn_on: spizarka
- # - delay: 50ms
- # - switch.turn_off: spizarka
- turn_off_action:
- - switch.turn_on: spizarka
- optimistic: true
- # H1-2
- - platform: gpio
- name: "Nocne Dół"
- pin:
- mcp23xxx: mcp23017_hub
- number: 1
- mode: OUTPUT
- inverted: False
- id: Nocnedol
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Nocnedol
- # H1-3
- - platform: gpio
- name: "Nad schodami"
- pin:
- mcp23xxx: mcp23017_hub
- number: 2
- mode: OUTPUT
- inverted: False
- id: Nadschodami
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Nadschodami
- # H1-4
- - platform: gpio
- name: "Kuchnia Halogen"
- pin:
- mcp23xxx: mcp23017_hub
- number: 3
- mode: OUTPUT
- inverted: False
- id: Kuchnia_halogen
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Kuchnia_halogen
- # H1-5
- - platform: gpio
- name: "Prawy 1"
- pin:
- mcp23xxx: mcp23017_hub
- number: 4
- mode: OUTPUT
- inverted: False
- id: Prawy_1
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Prawy_1
- # H1-6
- - platform: gpio
- name: "Nocne góra"
- pin:
- mcp23xxx: mcp23017_hub
- number: 5
- mode: OUTPUT
- inverted: False
- id: Nocne_gora
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Nocne_gora
- # H1-7
- - platform: gpio
- name: "Lampa 7"
- pin:
- mcp23xxx: mcp23017_hub
- number: 6
- mode: OUTPUT
- inverted: False
- id: Lampa_7
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_7
- # H1-8
- - platform: gpio
- name: "WC"
- pin:
- mcp23xxx: mcp23017_hub
- number: 7
- mode: OUTPUT
- inverted: False
- id: Wc
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Wc
- # H1-9
- - platform: gpio
- name: "Schody Led 1"
- pin:
- mcp23xxx: mcp23017_hub
- number: 8
- mode: OUTPUT
- inverted: False
- id: Lampa_9
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_9
- # H1-10
- - platform: gpio
- name: "Elewacja 1"
- pin:
- mcp23xxx: mcp23017_hub
- number: 9
- mode: OUTPUT
- inverted: False
- id: Lampa_10
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_10
- # H1-11
- - platform: gpio
- name: "Łazienka lustro 2"
- pin:
- mcp23xxx: mcp23017_hub
- number: 10
- mode: OUTPUT
- inverted: False
- id: Lampa_11
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_11
- # H1-12
- - platform: gpio
- name: "Nad schodami 2"
- pin:
- mcp23xxx: mcp23017_hub
- number: 11
- mode: OUTPUT
- inverted: False
- id: Lampa_12
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_12
- # H1-13
- - platform: gpio
- name: "Korytaż dół"
- pin:
- mcp23xxx: mcp23017_hub
- number: 12
- mode: OUTPUT
- inverted: False
- id: Lampa_13
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_13
- # H1-14
- - platform: gpio
- name: "Kuchnia Halogen 2"
- pin:
- mcp23xxx: mcp23017_hub
- number: 13
- mode: OUTPUT
- inverted: False
- id: Lampa_14
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_14
- # H1-15
- - platform: gpio
- name: "Prawy 2"
- pin:
- mcp23xxx: mcp23017_hub
- number: 14
- mode: OUTPUT
- inverted: False
- id: Lampa_15
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_15
- # H1-16
- - platform: gpio
- name: "Łazienka lustro 1"
- pin:
- mcp23xxx: mcp23017_hub
- number: 15
- mode: OUTPUT
- inverted: False
- id: Lampa_16
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: Lampa_16
- # ##################################
- # HUB 2 swicze
- # H2-1
- - platform: gpio
- name: "Sypialnia góra 1"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 0
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_1
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_1
- # H2-2
- - platform: gpio
- name: "Sypialnia dół 1"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 1
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_2
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_2
- # H2-3
- - platform: gpio
- name: "Schody Led 2"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 2
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_3
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_3
- # H2-4
- - platform: gpio
- name: "Elewacja 2"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 3
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_4
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_4
- # H2-5
- - platform: gpio
- name: "Salon Halogen 1"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 4
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_5
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_5
- # H2-6
- - platform: gpio
- name: "Salon Prawa 1"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 5
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_6
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_6
- # H2-7
- - platform: gpio
- name: "Garderoba"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 6
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_7
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_7
- # H2-8
- - platform: gpio
- name: "Kuchnia"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 7
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_8
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_8
- # H2-9
- - platform: gpio
- name: "Lamp 9"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 8
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_9
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_9
- # H2-10
- - platform: gpio
- name: "Lamp 10"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 9
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_10
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_10
- # H2-11
- - platform: gpio
- name: "Salon Prawa 2"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 10
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_11
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_11
- # H2-12
- - platform: gpio
- name: "Zewnętrze Schody"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 11
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_12
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_12
- # H2-13
- - platform: gpio
- name: "Biuro"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 12
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_13
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_13
- # H2-14
- - platform: gpio
- name: "Salon Halogen 2"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 13
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_14
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_14
- # H2-15
- - platform: gpio
- name: "Sypialnia dół 2"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 14
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_15
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_15
- # H2-16
- - platform: gpio
- name: "Sypialnia Góra 2"
- pin:
- mcp23xxx: mcp23017_hub1
- number: 15
- mode: OUTPUT
- inverted: False
- id: H1_Lamp_16
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H1_Lamp_16
- # ##################################
- # HUB 3 swicze
- # H3-1
- - platform: gpio
- name: "1Lamp 1"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 0
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_1
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_1
- # H3-2
- - platform: gpio
- name: "Kotłownia"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 1
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_2
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_2
- # H3-3
- - platform: gpio
- name: "Korytarz góra"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 2
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_3
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_3
- # H3-4
- - platform: gpio
- name: "Łazięka góra środkowe"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 3
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_4
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_4
- # H3-5
- - platform: gpio
- name: "Łazienka dół 1"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 4
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_5
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_5
- # H3-6
- - platform: gpio
- name: "Łazienka dół 2"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 5
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_6
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_6
- # H3-7
- - platform: gpio
- name: "Salon 1"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 6
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_7
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_7
- # H3-8
- - platform: gpio
- name: "Łazienka góra lewa"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 7
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_8
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_8
- # H3-9
- - platform: gpio
- name: "Salon 2"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 8
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_9
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_9
- # H3-10
- - platform: gpio
- name: "1Lamp 10"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 9
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_10
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_10
- # H3-11
- - platform: gpio
- name: "Wiatrołap"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 10
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_11
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_11
- # H3-12
- - platform: gpio
- name: "Pokój Lili 1"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 11
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_12
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_12
- # H3-13
- - platform: gpio
- name: "Pokój lili 2 - NU"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 12
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_13
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_13
- # H3-14
- - platform: gpio
- name: "Łazienka Góra prawa"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 13
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_14
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_14
- # H3-15
- - platform: gpio
- name: "SWX2"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 14
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_15
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_15
- # H3-16
- - platform: gpio
- name: "1Lamp 16"
- pin:
- mcp23xxx: mcp23017_hub2
- number: 15
- mode: OUTPUT
- inverted: False
- id: H2_Lamp_16
- on_turn_on:
- - delay: 50ms
- - switch.turn_off: H2_Lamp_16
- #
- # statusy
- # hub 3 hub 4 hub5 hub 6
- #
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- binary_sensor:
- #
- # #############################
- # HUB 1
- # H1-1
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 0
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d1"
- id: a1
- device_class: light
- # H1-2
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 1
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d2"
- id: a2
- device_class: light
- # H1-3
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 2
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d3"
- id: a3
- device_class: light
- # H1-4
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 3
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d4"
- id: a4
- device_class: light
- # H1-5
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 4
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d5"
- id: a5
- device_class: light
- # H1-6
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 5
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d6"
- id: a6
- device_class: light
- # H1-7
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 6
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d7"
- id: a7
- device_class: light
- # H1-8
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 7
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d8"
- id: a8
- device_class: light
- # H1-9
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 8
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d9"
- id: a9
- device_class: light
- # H1-10
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 9
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d10"
- id: a10
- device_class: light
- # H1-11
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 10
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d11"
- id: a11
- device_class: light
- # H1-12
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 11
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d12"
- id: a12
- device_class: light
- # H1-13
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 12
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d13"
- id: a13
- device_class: light
- # H1-14
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 13
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d14"
- id: a14
- device_class: light
- # H1-15
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 14
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d15"
- id: a15
- device_class: light
- # H1-16
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub3
- number: 15
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 1-d16"
- id: a16
- device_class: light
- #
- # #############################
- # HUB 2
- # H2-1
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 0
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d1"
- id: b1
- device_class: light
- # H2-2
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 1
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d2"
- id: b2
- device_class: light
- # H2-3
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 2
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d3"
- id: b3
- device_class: light
- # H2-4
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 3
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d4"
- id: b4
- device_class: light
- # H2-5
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 4
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d5"
- id: b5
- device_class: light
- # H2-6
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 5
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d6"
- id: b6
- device_class: light
- # H2-7
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 6
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d7"
- id: b7
- device_class: light
- # H2-8
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 7
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d8"
- id: b8
- device_class: light
- # H2-9
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 8
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d9"
- id: b9
- device_class: light
- # H2-10
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 9
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d10"
- id: b10
- device_class: light
- # H2-11
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 10
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d11"
- id: b11
- device_class: light
- # H2-12
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 11
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d12"
- id: b12
- device_class: light
- # H2-13
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 12
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d13"
- id: b13
- device_class: light
- # H2-14
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 13
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d14"
- id: b14
- device_class: light
- # H2-15
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 14
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d15"
- id: b15
- device_class: light
- # H2-16
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub4
- number: 15
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 2-d16"
- id: b16
- device_class: light
- #
- # #############################
- # HUB 3
- # H3-1
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 0
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d1"
- id: c1
- device_class: light
- # H3-2
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 1
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d2"
- id: c2
- device_class: light
- # H3-3
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 2
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d3"
- id: c3
- device_class: light
- # H3-4
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 3
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d4"
- id: c4
- device_class: light
- # H3-5
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 4
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d5"
- id: c5
- device_class: light
- # H3-6
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 5
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d6"
- id: c6
- device_class: light
- # H3-7
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 6
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d7"
- id: c7
- device_class: light
- # H3-8
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 7
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d8"
- id: c8
- device_class: light
- # H3-9
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 8
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d9"
- id: c9
- device_class: light
- # H3-10
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 9
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d10"
- id: c10
- device_class: light
- # H3-11
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 10
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d11"
- id: c11
- device_class: light
- # H3-12
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 11
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d12"
- id: c12
- device_class: light
- # H3-13
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 12
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d13"
- id: c13
- device_class: light
- # H3-14
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 13
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d14"
- id: c14
- device_class: light
- # H3-15
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 14
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d15"
- id: c15
- device_class: light
- # H3-16
- - platform: gpio
- pin:
- mcp23xxx: mcp23017_hub5
- number: 15
- mode: INPUT_PULLUP
- inverted: True
- name: "Status 3-d16"
- id: c16
- device_class: light
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement