mqttled: update to 0.1.2
authorTom Grime <tom.grime@gmail.com>
Fri, 12 Aug 2022 12:47:32 +0000 (13:47 +0100)
committerRosen Penev <rosenp@gmail.com>
Tue, 16 Aug 2022 20:11:31 +0000 (13:11 -0700)
Signed-off-by: Tom Grime <tom.grime@gmail.com>
utils/mqttled/Makefile
utils/mqttled/files/mqttled.config

index 1620fe15576e27f43e9fe6eb41731c5003865f71..41bd9ac8b01831189c1a6427d823ad715895a4ac 100644 (file)
@@ -2,11 +2,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mqttled
-PKG_VERSION:=0.1.0
+PKG_VERSION:=0.1.2
 PKG_RELEASE:=1
 
 PYPI_NAME:=mqttled
-PKG_HASH:=20f46b7114b6ddace6e0faaaa078640f609c3d495e4ccff8d8caeb77ac5418f7
+PKG_HASH:=eb94af853605f4f1ea3c34b66e2f84f3d9845d795529ae8429feb954e74876d7
 
 PKG_MAINTAINER:=Tom Grime <tom.grime@gmail.com>
 PKG_LICENSE:=MIT
index e3c793a865045889cb18304644ccbcb82239c5fc..344dad6348de9e70b5ffcde37ba424eef52da51e 100644 (file)
@@ -26,6 +26,16 @@ config leds 'leds'
     list exclude 'rt2800soc-phy1::radio'
     #list include 'blue:internet'
 
+config rgb 'rgb'
+    # Exposes 3 LEDs to HomeAssistant as a single RGB LED
+    option enablergb '0'
+    # The name of the RGB LED to expose to HomeAssistant
+    option name 'RGB'
+    # The IDs of the three colored LEDs
+    option red 'LED0_Red'
+    option green 'LED0_Green'
+    option blue 'LED0_Blue'
+
 config trigger 'triggers'
     #Only triggers listed here will be presented to HA as 'effects'
     list triggers 'none'