updated test to include i2c

This commit is contained in:
KoenBreeman 2024-08-09 16:25:20 +02:00
parent aecca5eea6
commit 5dc1bc96ef
7 changed files with 30 additions and 22 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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