mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 20:50:02 +02:00
fix too many out_16
This commit is contained in:
@@ -184,15 +184,6 @@ switch:
|
|||||||
restore_mode: always off
|
restore_mode: always off
|
||||||
|
|
||||||
output:
|
output:
|
||||||
- platform: gpio
|
|
||||||
id: out_16
|
|
||||||
pin:
|
|
||||||
pcf8574: pcf_right
|
|
||||||
number: 8
|
|
||||||
mode:
|
|
||||||
output: true
|
|
||||||
inverted: true
|
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
id: out_17
|
id: out_17
|
||||||
pin:
|
pin:
|
||||||
|
|||||||
@@ -181,10 +181,6 @@ cover:
|
|||||||
- switch.turn_off: cover_close_08_out16
|
- switch.turn_off: cover_close_08_out16
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: binary
|
|
||||||
name: 'Light 16'
|
|
||||||
output: out_16
|
|
||||||
id: light_16
|
|
||||||
- platform: binary
|
- platform: binary
|
||||||
name: 'Light 17'
|
name: 'Light 17'
|
||||||
output: out_17
|
output: out_17
|
||||||
@@ -249,6 +245,7 @@ light:
|
|||||||
name: 'Light 32'
|
name: 'Light 32'
|
||||||
output: out_32
|
output: out_32
|
||||||
id: light_32
|
id: light_32
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_01'
|
name: 'IN_01'
|
||||||
@@ -485,7 +482,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_15
|
- cover.open: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_16'
|
name: 'IN_16'
|
||||||
@@ -498,7 +498,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_16
|
- cover.close: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_17'
|
name: 'IN_17'
|
||||||
|
|||||||
@@ -177,10 +177,6 @@ cover:
|
|||||||
- switch.turn_off: cover_close_08_out16
|
- switch.turn_off: cover_close_08_out16
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: binary
|
|
||||||
name: 'Light 16'
|
|
||||||
output: out_16
|
|
||||||
id: light_16
|
|
||||||
- platform: binary
|
- platform: binary
|
||||||
name: 'Light 17'
|
name: 'Light 17'
|
||||||
output: out_17
|
output: out_17
|
||||||
@@ -245,6 +241,7 @@ light:
|
|||||||
name: 'Light 32'
|
name: 'Light 32'
|
||||||
output: out_32
|
output: out_32
|
||||||
id: light_32
|
id: light_32
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_01'
|
name: 'IN_01'
|
||||||
@@ -481,7 +478,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_15
|
- cover.open: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_16'
|
name: 'IN_16'
|
||||||
@@ -494,7 +494,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle: light_16
|
- cover.close: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_17'
|
name: 'IN_17'
|
||||||
|
|||||||
@@ -181,10 +181,6 @@ cover:
|
|||||||
- switch.turn_off: cover_close_08_out16
|
- switch.turn_off: cover_close_08_out16
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: output
|
|
||||||
name: 'Switch 16'
|
|
||||||
output: out_16
|
|
||||||
id: switch_16
|
|
||||||
- platform: output
|
- platform: output
|
||||||
name: 'Switch 17'
|
name: 'Switch 17'
|
||||||
output: out_17
|
output: out_17
|
||||||
@@ -485,7 +481,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- switch.toggle: switch_15
|
- cover.open: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_16'
|
name: 'IN_16'
|
||||||
@@ -498,7 +497,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- switch.toggle: switch_16
|
- cover.close: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_17'
|
name: 'IN_17'
|
||||||
|
|||||||
@@ -177,10 +177,6 @@ cover:
|
|||||||
- switch.turn_off: cover_close_08_out16
|
- switch.turn_off: cover_close_08_out16
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: output
|
|
||||||
name: 'Switch 16'
|
|
||||||
output: out_16
|
|
||||||
id: switch_16
|
|
||||||
- platform: output
|
- platform: output
|
||||||
name: 'Switch 17'
|
name: 'Switch 17'
|
||||||
output: out_17
|
output: out_17
|
||||||
@@ -245,6 +241,7 @@ switch:
|
|||||||
name: 'Switch 32'
|
name: 'Switch 32'
|
||||||
output: out_32
|
output: out_32
|
||||||
id: switch_32
|
id: switch_32
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_01'
|
name: 'IN_01'
|
||||||
@@ -481,7 +478,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- switch.toggle: switch_15
|
- cover.open: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_16'
|
name: 'IN_16'
|
||||||
@@ -494,7 +494,10 @@ binary_sensor:
|
|||||||
inverted: true
|
inverted: true
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- switch.toggle: switch_16
|
- cover.close: cover_08
|
||||||
|
on_release:
|
||||||
|
then:
|
||||||
|
- cover.stop: cover_08
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: 'IN_17'
|
name: 'IN_17'
|
||||||
|
|||||||
20
devices_v0_5-v0_6/pcf_with_mcp.yaml
Normal file
20
devices_v0_5-v0_6/pcf_with_mcp.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
pcf8574:
|
||||||
|
- id: 'pcf_inputs_1to14'
|
||||||
|
i2c_id: bus_a
|
||||||
|
address: 0x20
|
||||||
|
pcf8575: true
|
||||||
|
- id: 'pcf_inputs_15to28'
|
||||||
|
i2c_id: bus_a
|
||||||
|
address: 0x21
|
||||||
|
pcf8575: true
|
||||||
|
- id: 'pcf_inputs_28to35_menu'
|
||||||
|
i2c_id: bus_a
|
||||||
|
address: 0x22
|
||||||
|
pcf8575: false
|
||||||
|
mcp23017:
|
||||||
|
- id: 'mcp_left'
|
||||||
|
address: 0x21
|
||||||
|
i2c_id: bus_b
|
||||||
|
- id: 'mcp_right'
|
||||||
|
address: 0x20
|
||||||
|
i2c_id: bus_b
|
||||||
Reference in New Issue
Block a user