mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 12:46:22 +01:00
updated test to include i2c
This commit is contained in:
parent
aecca5eea6
commit
5dc1bc96ef
@ -1,22 +0,0 @@
|
|||||||
seeedmultichannelrelay:
|
|
||||||
id: SeeedMultiChannelRelay_ID
|
|
||||||
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
|
||||||
|
|
||||||
switch:
|
|
||||||
- platform: seeedmultichannelrelay
|
|
||||||
id: seeedmultichannelrelay_1
|
|
||||||
name: seeedmultichannelrelay1
|
|
||||||
channel: 1
|
|
||||||
seeedmultichannelrelay_id: SeeedMultiChannelRelay_ID
|
|
||||||
|
|
||||||
- platform: seeedmultichannelrelay
|
|
||||||
id: seeedmultichannelrelay_2
|
|
||||||
name: seeedmultichannelrelay2
|
|
||||||
channel: 2
|
|
||||||
seeedmultichannelrelay_id: SeeedMultiChannelRelay_ID
|
|
||||||
|
|
||||||
- platform: seeedmultichannelrelay
|
|
||||||
id: seeedmultichannelrelay_8
|
|
||||||
name: seeedmultichannelrelay8
|
|
||||||
channel: 8
|
|
||||||
seeedmultichannelrelay_id: SeeedMultiChannelRelay_ID
|
|
@ -1,3 +1,8 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_seeedmultichannelrelay
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
seeedmultichannelrelay:
|
seeedmultichannelrelay:
|
||||||
id: SeeedMultiChannelRelay_ID
|
id: SeeedMultiChannelRelay_ID
|
||||||
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_seeedmultichannelrelay
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
seeedmultichannelrelay:
|
seeedmultichannelrelay:
|
||||||
id: SeeedMultiChannelRelay_ID
|
id: SeeedMultiChannelRelay_ID
|
||||||
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_seeedmultichannelrelay
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
seeedmultichannelrelay:
|
seeedmultichannelrelay:
|
||||||
id: SeeedMultiChannelRelay_ID
|
id: SeeedMultiChannelRelay_ID
|
||||||
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_seeedmultichannelrelay
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
seeedmultichannelrelay:
|
seeedmultichannelrelay:
|
||||||
id: SeeedMultiChannelRelay_ID
|
id: SeeedMultiChannelRelay_ID
|
||||||
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_seeedmultichannelrelay
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
seeedmultichannelrelay:
|
seeedmultichannelrelay:
|
||||||
id: SeeedMultiChannelRelay_ID
|
id: SeeedMultiChannelRelay_ID
|
||||||
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
i2c:
|
||||||
|
- id: i2c_seeedmultichannelrelay
|
||||||
|
scl: 16
|
||||||
|
sda: 17
|
||||||
|
|
||||||
seeedmultichannelrelay:
|
seeedmultichannelrelay:
|
||||||
id: SeeedMultiChannelRelay_ID
|
id: SeeedMultiChannelRelay_ID
|
||||||
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
change_address_to: 0x01 # changes the address of the seeedmultichannelrelay (only runs once to update into the EPROM) then you have to change the i2c_address
|
||||||
|
Loading…
Reference in New Issue
Block a user