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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user