changed naming

This commit is contained in:
Martijn
2024-11-11 19:14:58 +01:00
parent fac784fa64
commit 3c54e1e64a
3 changed files with 67 additions and 67 deletions
+19 -19
View File
@@ -22,16 +22,16 @@ binary_sensor:
### Buttons Main Display ### ### Buttons Main Display ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j2_btn_left' id: 'main_display_btn_left'
name: "Display button Left" name: "Main Display button Left"
pin: pin:
mcp23xxx: base_J2 mcp23xxx: base_J2
number: 6 number: 6
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j2_btn_right' id: 'main_display_btn_right'
name: "Display button Right" name: "Main Display button Right"
pin: pin:
mcp23xxx: base_J2 mcp23xxx: base_J2
number: 2 number: 2
@@ -42,16 +42,16 @@ binary_sensor:
### Buttons BAR module 1 ### ### Buttons BAR module 1 ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j3_btn_left' id: 'bar1_btn_left'
name: "BAR button Left" name: "BAR 1 button Left"
pin: pin:
mcp23xxx: base_J3 mcp23xxx: base_J3
number: 6 number: 6
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j3_btn_right' id: 'bar1_btn_right'
name: "BAR button Right" name: "BAR 1 button Right"
pin: pin:
mcp23xxx: base_J3 mcp23xxx: base_J3
number: 2 number: 2
@@ -65,29 +65,29 @@ light:
### RGB LED's BAR module ### ### RGB LED's BAR module ###
############################ ############################
- platform: partition - platform: partition
name: "BAR J3 Left RGB Front" name: "BAR 1 Left RGB Front"
id: bar_j3_left_rgb_front id: bar1_left_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 0 from: 0
to: 0 to: 0
- platform: partition - platform: partition
name: "BAR J3 Left RGB Back" name: "BAR 1 Left RGB Back"
id: bar_j3_left_rgb_back id: bar1_left_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 1 from: 1
to: 1 to: 1
- platform: partition - platform: partition
name: "BAR J3 Right RGB Front" name: "BAR 1 Right RGB Front"
id: bar_j3_right_rgb_front id: bar1_right_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 2 from: 2
to: 2 to: 2
- platform: partition - platform: partition
name: "BAR J3 Right RGB Back" name: "BAR 1 Right RGB Back"
id: bar_j3_right_rgb_back id: bar1_right_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 3 from: 3
@@ -97,7 +97,7 @@ display:
#################### ####################
### Main Display ### ### Main Display ###
#################### ####################
- id: display_j2_main - id: main_display
platform: ili9xxx platform: ili9xxx
model: ili9341 model: ili9341
color_order: rgb color_order: rgb
@@ -120,7 +120,7 @@ display:
################## ##################
### BAR module ### ### BAR module ###
################## ##################
- id: display_j3_Left - id: display_bar1_left
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -141,7 +141,7 @@ display:
width: 80 width: 80
offset_width: 24 offset_width: 24
rotation: 270 rotation: 270
- id: display_j3_Right - id: display_bar1_left
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
+21 -21
View File
@@ -25,16 +25,16 @@ binary_sensor:
### Buttons Main Display ### ### Buttons Main Display ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j1_btn_left' id: 'main_display_btn_left'
name: "Display button Left" name: "Main Display button Left"
pin: pin:
mcp23xxx: base_J1 mcp23xxx: base_J1
number: 6 number: 6
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j1_btn_right' id: 'main_display_btn_right'
name: "Display button Right" name: "Main Display button Right"
pin: pin:
mcp23xxx: base_J1 mcp23xxx: base_J1
number: 2 number: 2
@@ -45,7 +45,7 @@ binary_sensor:
### Buttons BAR module 1 ### ### Buttons BAR module 1 ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j2_btn_left' id: 'bar1_btn_left'
name: "BAR 1 button Left" name: "BAR 1 button Left"
pin: pin:
mcp23xxx: base_J2 mcp23xxx: base_J2
@@ -53,7 +53,7 @@ binary_sensor:
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j2_btn_right' id: 'bar1_btn_right'
name: "BAR 1 button Right" name: "BAR 1 button Right"
pin: pin:
mcp23xxx: base_J2 mcp23xxx: base_J2
@@ -65,7 +65,7 @@ binary_sensor:
### Buttons BAR module 2 ### ### Buttons BAR module 2 ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j3_btn_left' id: 'bar2_btn_left'
name: "BAR 2 button Left" name: "BAR 2 button Left"
pin: pin:
mcp23xxx: base_J3 mcp23xxx: base_J3
@@ -73,7 +73,7 @@ binary_sensor:
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j3_btn_right' id: 'bar2_btn_right'
name: "BAR 2 button Right" name: "BAR 2 button Right"
pin: pin:
mcp23xxx: base_J3 mcp23xxx: base_J3
@@ -89,28 +89,28 @@ light:
############################## ##############################
- platform: partition - platform: partition
name: "BAR 1 Left RGB Front" name: "BAR 1 Left RGB Front"
id: bar_1_left_rgb_front id: bar1_left_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 0 from: 0
to: 0 to: 0
- platform: partition - platform: partition
name: "BAR 1 Left RGB Back" name: "BAR 1 Left RGB Back"
id: bar_1_left_rgb_back id: bar1_left_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 1 from: 1
to: 1 to: 1
- platform: partition - platform: partition
name: "BAR 1 Right RGB Front" name: "BAR 1 Right RGB Front"
id: bar_1_right_rgb_front id: bar1_right_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 2 from: 2
to: 2 to: 2
- platform: partition - platform: partition
name: "BAR 1 Right RGB Back" name: "BAR 1 Right RGB Back"
id: bar_1_right_rgb_back id: bar1_right_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 3 from: 3
@@ -120,28 +120,28 @@ light:
############################## ##############################
- platform: partition - platform: partition
name: "BAR 2 Left RGB Front" name: "BAR 2 Left RGB Front"
id: bar_2_left_rgb_front id: bar2_left_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 4 from: 4
to: 4 to: 4
- platform: partition - platform: partition
name: "BAR 2 Left RGB Back" name: "BAR 2 Left RGB Back"
id: bar_2_left_rgb_back id: bar2_left_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 5 from: 5
to: 5 to: 5
- platform: partition - platform: partition
name: "BAR 2 Right RGB Front" name: "BAR 2 Right RGB Front"
id: bar_2_right_rgb_front id: bar2_right_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 6 from: 6
to: 6 to: 6
- platform: partition - platform: partition
name: "BAR 2 Right RGB Back" name: "BAR 2 Right RGB Back"
id: bar_2_right_rgb_back id: bar2_right_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 7 from: 7
@@ -151,7 +151,7 @@ display:
#################### ####################
### Main Display ### ### Main Display ###
#################### ####################
- id: display_j1_main - id: main_display
platform: ili9xxx platform: ili9xxx
model: ili9341 model: ili9341
color_order: rgb color_order: rgb
@@ -174,7 +174,7 @@ display:
#################### ####################
### BAR module 1 ### ### BAR module 1 ###
#################### ####################
- id: display_j2_Left - id: display_bar1_left
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -195,7 +195,7 @@ display:
width: 80 width: 80
offset_width: 24 offset_width: 24
rotation: 270 rotation: 270
- id: display_j2_Right - id: display_bar1_right
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -219,7 +219,7 @@ display:
#################### ####################
### BAR module 2 ### ### BAR module 2 ###
#################### ####################
- id: display_j3_Left - id: display_bar2_left
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -240,7 +240,7 @@ display:
width: 80 width: 80
offset_width: 24 offset_width: 24
rotation: 270 rotation: 270
- id: display_j3_Right - id: display_bar2_right
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
+27 -27
View File
@@ -28,7 +28,7 @@ binary_sensor:
### Buttons Main Display ### ### Buttons Main Display ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j0_btn_left' id: 'main_display_btn_left'
name: "Display button Left" name: "Display button Left"
pin: pin:
mcp23xxx: base_J0 mcp23xxx: base_J0
@@ -36,7 +36,7 @@ binary_sensor:
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j0_btn_right' id: 'main_display_btn_right'
name: "Display button Right" name: "Display button Right"
pin: pin:
mcp23xxx: base_J0 mcp23xxx: base_J0
@@ -48,7 +48,7 @@ binary_sensor:
### Buttons BAR module 1 ### ### Buttons BAR module 1 ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j1_btn_left' id: 'bar1_btn_left'
name: "BAR 1 button Left" name: "BAR 1 button Left"
pin: pin:
mcp23xxx: base_J1 mcp23xxx: base_J1
@@ -56,7 +56,7 @@ binary_sensor:
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j1_btn_right' id: 'bar1_btn_right'
name: "BAR 1 button Right" name: "BAR 1 button Right"
pin: pin:
mcp23xxx: base_J1 mcp23xxx: base_J1
@@ -68,7 +68,7 @@ binary_sensor:
### Buttons BAR module 2 ### ### Buttons BAR module 2 ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j2_btn_left' id: 'bar2_btn_left'
name: "BAR 2 button Left" name: "BAR 2 button Left"
pin: pin:
mcp23xxx: base_J2 mcp23xxx: base_J2
@@ -76,7 +76,7 @@ binary_sensor:
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j2_btn_right' id: 'bar2_btn_right'
name: "BAR 2 button Right" name: "BAR 2 button Right"
pin: pin:
mcp23xxx: base_J2 mcp23xxx: base_J2
@@ -88,7 +88,7 @@ binary_sensor:
### Buttons BAR module 3 ### ### Buttons BAR module 3 ###
############################ ############################
- platform: gpio - platform: gpio
id: 'base_j3_btn_left' id: 'bar3_btn_left'
name: "BAR 3 button Left" name: "BAR 3 button Left"
pin: pin:
mcp23xxx: base_J3 mcp23xxx: base_J3
@@ -96,7 +96,7 @@ binary_sensor:
mode: INPUT_PULLUP mode: INPUT_PULLUP
inverted: true inverted: true
- platform: gpio - platform: gpio
id: 'base_j3_btn_right' id: 'bar3_btn_right'
name: "BAR 3 button Right" name: "BAR 3 button Right"
pin: pin:
mcp23xxx: base_J3 mcp23xxx: base_J3
@@ -112,28 +112,28 @@ light:
############################## ##############################
- platform: partition - platform: partition
name: "BAR 1 Left RGB Front" name: "BAR 1 Left RGB Front"
id: bar_1_left_rgb_front id: bar1_left_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 0 from: 0
to: 0 to: 0
- platform: partition - platform: partition
name: "BAR 1 Left RGB Back" name: "BAR 1 Left RGB Back"
id: bar_1_left_rgb_back id: bar1_left_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 1 from: 1
to: 1 to: 1
- platform: partition - platform: partition
name: "BAR 1 Right RGB Front" name: "BAR 1 Right RGB Front"
id: bar_1_right_rgb_front id: bar1_right_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 2 from: 2
to: 2 to: 2
- platform: partition - platform: partition
name: "BAR 1 Right RGB Back" name: "BAR 1 Right RGB Back"
id: bar_1_right_rgb_back id: bar1_right_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 3 from: 3
@@ -143,28 +143,28 @@ light:
############################## ##############################
- platform: partition - platform: partition
name: "BAR 2 Left RGB Front" name: "BAR 2 Left RGB Front"
id: bar_2_left_rgb_front id: bar2_left_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 4 from: 4
to: 4 to: 4
- platform: partition - platform: partition
name: "BAR 2 Left RGB Back" name: "BAR 2 Left RGB Back"
id: bar_2_left_rgb_back id: bar2_left_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 5 from: 5
to: 5 to: 5
- platform: partition - platform: partition
name: "BAR 2 Right RGB Front" name: "BAR 2 Right RGB Front"
id: bar_2_right_rgb_front id: bar2_right_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 6 from: 6
to: 6 to: 6
- platform: partition - platform: partition
name: "BAR 2 Right RGB Back" name: "BAR 2 Right RGB Back"
id: bar_2_right_rgb_back id: bar2_right_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 7 from: 7
@@ -174,28 +174,28 @@ light:
############################## ##############################
- platform: partition - platform: partition
name: "BAR 3 Left RGB Front" name: "BAR 3 Left RGB Front"
id: bar_3_left_rgb_front id: bar3_left_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 8 from: 8
to: 8 to: 8
- platform: partition - platform: partition
name: "BAR 3 Left RGB Back" name: "BAR 3 Left RGB Back"
id: bar_3_left_rgb_back id: bar3_left_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 9 from: 9
to: 9 to: 9
- platform: partition - platform: partition
name: "BAR 3 Right RGB Front" name: "BAR 3 Right RGB Front"
id: bar_3_right_rgb_front id: bar3_right_rgb_front
segments: segments:
- id: neopixels - id: neopixels
from: 10 from: 10
to: 10 to: 10
- platform: partition - platform: partition
name: "BAR 3 Right RGB Back" name: "BAR 3 Right RGB Back"
id: bar_3_right_rgb_back id: bar3_right_rgb_back
segments: segments:
- id: neopixels - id: neopixels
from: 11 from: 11
@@ -205,7 +205,7 @@ display:
#################### ####################
### Main Display ### ### Main Display ###
#################### ####################
- id: display_j0_main - id: main_display
platform: ili9xxx platform: ili9xxx
model: ili9341 model: ili9341
invert_colors: false invert_colors: false
@@ -228,7 +228,7 @@ display:
#################### ####################
### BAR module 1 ### ### BAR module 1 ###
#################### ####################
- id: display_j1_Left - id: display_bar1_left
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -249,7 +249,7 @@ display:
width: 80 width: 80
offset_width: 24 offset_width: 24
rotation: 270 rotation: 270
- id: display_j1_Right - id: display_bar1_right
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -273,7 +273,7 @@ display:
#################### ####################
### BAR module 2 ### ### BAR module 2 ###
#################### ####################
- id: display_j2_Left - id: display_bar2_left
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -294,7 +294,7 @@ display:
width: 80 width: 80
offset_width: 24 offset_width: 24
rotation: 270 rotation: 270
- id: display_j2_Right - id: display_bar2_right
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -318,7 +318,7 @@ display:
#################### ####################
### BAR module 3 ### ### BAR module 3 ###
#################### ####################
- id: display_j3_Left - id: display_bar3_left
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr
@@ -339,7 +339,7 @@ display:
width: 80 width: 80
offset_width: 24 offset_width: 24
rotation: 270 rotation: 270
- id: display_j3_Right - id: display_bar3_right
platform: ili9xxx platform: ili9xxx
model: ST7735 model: ST7735
color_order: bgr color_order: bgr