Skip to content

Commit

Permalink
Add grove power module for when you dont want i2c
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz committed Dec 12, 2024
1 parent 28dc2e3 commit 61572d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/grove-power.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
switch:
- platform: gpio
pin: GPIO46
id: grove_port_power
restore_mode: ALWAYS_ON
setup_priority: 1001 # This sets the pin to be on before the i2c scan happens (priority 1000)

0 comments on commit 61572d7

Please sign in to comment.