LED Names changed
This commit is contained in:
8
gauge.py
8
gauge.py
@@ -904,7 +904,7 @@ def _publish_indicator_led_discovery(client, dev_ref):
|
|||||||
client,
|
client,
|
||||||
gt["led_red_disc"],
|
gt["led_red_disc"],
|
||||||
{
|
{
|
||||||
"name": f"{g['name']} Red LED",
|
"name": f"{g['name']} Dial Red LED",
|
||||||
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_red",
|
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_red",
|
||||||
"cmd_t": gt["led_red"],
|
"cmd_t": gt["led_red"],
|
||||||
"stat_t": gt["led_red_state"],
|
"stat_t": gt["led_red_state"],
|
||||||
@@ -923,7 +923,7 @@ def _publish_indicator_led_discovery(client, dev_ref):
|
|||||||
client,
|
client,
|
||||||
gt["led_green_disc"],
|
gt["led_green_disc"],
|
||||||
{
|
{
|
||||||
"name": f"{g['name']} Green LED",
|
"name": f"{g['name']} Dial Green LED",
|
||||||
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_green",
|
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_green",
|
||||||
"cmd_t": gt["led_green"],
|
"cmd_t": gt["led_green"],
|
||||||
"stat_t": gt["led_green_state"],
|
"stat_t": gt["led_green_state"],
|
||||||
@@ -966,7 +966,7 @@ def _publish_backlight_status_discovery(client, dev_ref):
|
|||||||
client,
|
client,
|
||||||
gt["status_red_disc"],
|
gt["status_red_disc"],
|
||||||
{
|
{
|
||||||
"name": f"{g['name']} Status Red",
|
"name": f"{g['name']} Channel Status Red",
|
||||||
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_status_red",
|
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_status_red",
|
||||||
"cmd_t": gt["status_red"],
|
"cmd_t": gt["status_red"],
|
||||||
"stat_t": gt["status_red_state"],
|
"stat_t": gt["status_red_state"],
|
||||||
@@ -985,7 +985,7 @@ def _publish_backlight_status_discovery(client, dev_ref):
|
|||||||
client,
|
client,
|
||||||
gt["status_green_disc"],
|
gt["status_green_disc"],
|
||||||
{
|
{
|
||||||
"name": f"{g['name']} Status Green",
|
"name": f"{g['name']} Channel Status Green",
|
||||||
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_status_green",
|
"uniq_id": f"{MQTT_CLIENT_ID}_g{i}_status_green",
|
||||||
"cmd_t": gt["status_green"],
|
"cmd_t": gt["status_green"],
|
||||||
"stat_t": gt["status_green_state"],
|
"stat_t": gt["status_green_state"],
|
||||||
|
|||||||
Reference in New Issue
Block a user