2024-08-09 17:04:23 +02:00
|
|
|
i2c:
|
2024-08-16 11:00:30 +02:00
|
|
|
- id: i2c_m5stack_4relay
|
2024-08-16 10:40:23 +02:00
|
|
|
scl: ${scl_pin}
|
|
|
|
sda: ${sda_pin}
|
2024-08-09 17:04:23 +02:00
|
|
|
|
2024-08-16 11:00:30 +02:00
|
|
|
m5stack_4relay:
|
2024-08-09 17:04:23 +02:00
|
|
|
id: M5stackrelay_ID1
|
|
|
|
|
|
|
|
switch:
|
2024-08-16 11:00:30 +02:00
|
|
|
- platform: m5stack_4relay
|
|
|
|
id: m5stack_4relay_1
|
|
|
|
name: m5stack_4relay1
|
2024-08-09 17:04:23 +02:00
|
|
|
channel: 1
|
2024-08-16 11:00:30 +02:00
|
|
|
m5stack_4relay_id: M5stackrelay_ID1
|
2024-08-09 17:04:23 +02:00
|
|
|
|
2024-08-16 11:00:30 +02:00
|
|
|
- platform: m5stack_4relay
|
|
|
|
id: m5stack_4relay_2
|
|
|
|
name: m5stack_4relay2
|
2024-08-09 17:04:23 +02:00
|
|
|
channel: 2
|
2024-08-16 11:00:30 +02:00
|
|
|
m5stack_4relay_id: M5stackrelay_ID1
|
2024-08-09 17:04:23 +02:00
|
|
|
|
2024-08-16 11:00:30 +02:00
|
|
|
- platform: m5stack_4relay
|
|
|
|
id: m5stack_4relay_3
|
|
|
|
name: m5stack_4relay3
|
2024-08-09 17:04:23 +02:00
|
|
|
channel: 3
|
2024-08-16 11:00:30 +02:00
|
|
|
m5stack_4relay_id: M5stackrelay_ID1
|
2024-08-09 17:04:23 +02:00
|
|
|
|
2024-08-16 11:00:30 +02:00
|
|
|
- platform: m5stack_4relay
|
|
|
|
id: m5stack_4relay_4
|
|
|
|
name: m5stack_4relay4
|
2024-08-09 17:04:23 +02:00
|
|
|
channel: 4
|
2024-08-16 11:00:30 +02:00
|
|
|
m5stack_4relay_id: M5stackrelay_ID1
|