1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Add support for Grove tb6612 fng (#4797)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Christian
2023-07-12 04:02:53 +01:00
committed by GitHub
parent cf65bd8ad7
commit e0fd8cd850
5 changed files with 547 additions and 0 deletions

View File

@@ -303,6 +303,10 @@ sm2135:
rgb_current: 20mA
cw_current: 60mA
grove_i2c_motor:
id: test_motor
address: 0x14
switch:
- platform: template
name: mpr121_toggle
@@ -353,6 +357,17 @@ switch:
Content-Type: application/json
body: Some data
verify_ssl: false
- platform: template
name: open_vent
id: open_vent
optimistic: True
on_turn_on:
then:
- grove_i2c_motor.run:
channel: 1
speed: 255
direction: BACKWARD
id: test_motor
custom_component: