Expose relay-indicator LEDs

The lights will be available on Home Assistant, so users will be able to set it's color and brightness, then this will be used when the relay turn on-off as the indicator for the relay status.
Resolves #57
This commit is contained in:
Edward Firmo
2024-12-24 23:31:50 +01:00
parent 44b3586a17
commit 403cdce2b5
6 changed files with 470 additions and 428 deletions

View File

@@ -2,7 +2,7 @@
##### TX Ultimate Easy for ESPHome #####
##### Repository: https://github.com/edwardtfn/TX-Ultimate-Easy #####
####################################################################################################
##### Purpose: ESPHome Core - Hardware - Speaker #####
##### Purpose: ESPHome Core - Hardware - Media player #####
####################################################################################################
##### Author: edwardtfn - https://github.com/edwardtfn - https://buymeacoffee.com/edwardfirmo #####
####################################################################################################
@@ -17,8 +17,8 @@ i2s_audio:
i2s_lrclk_pin: GPIO4
media_player:
- id: mp_speaker
name: Speaker
- id: mp_media_player
name: Media Player
internal: false
platform: i2s_audio
i2s_dout_pin: GPIO15