Adjusted indentation (#2793)

from "output:" downwards
This commit is contained in:
gatonero 2023-03-30 09:41:00 +02:00 committed by GitHub
parent 49840138b5
commit 0706aa6d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,37 +218,37 @@ appropriate lines of C code in the lambda to hide or show the image or text as y
id: tdisplay_button_input_1
# Allow dimmable control of the backlight (pin GPIO4)
output:
- platform: ledc
pin: GPIO4
id: gpio4
output:
- platform: ledc
pin: GPIO4
id: gpio4
light:
- platform: monochromatic
output: gpio4
name: "Backlight"
light:
- platform: monochromatic
output: gpio4
name: "Backlight"
image:
- file: "image.png"
id: my_image
resize: 200x200
type: RGB24
image:
- file: "image.png"
id: my_image
resize: 200x200
type: RGB24
time:
- platform: homeassistant
id: esptime
time:
- platform: homeassistant
id: esptime
spi:
clk_pin: GPIO18
mosi_pin: GPIO19
spi:
clk_pin: GPIO18
mosi_pin: GPIO19
display:
- platform: st7789v
cs_pin: GPIO5
dc_pin: GPIO16
reset_pin: GPIO23
rotation: 270
lambda: |-
display:
- platform: st7789v
cs_pin: GPIO5
dc_pin: GPIO16
reset_pin: GPIO23
rotation: 270
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height(), id(my_blue));
it.rectangle(0, 20, it.get_width(), it.get_height(), id(my_blue)); // header bar