mirror of
https://github.com/esphome/esphome.git
synced 2025-02-07 05:30:54 +00:00
Fix forgotten uses of use_transparency (#8115)
This commit is contained in:
parent
2489f95107
commit
a23ce416ea
@ -273,11 +273,9 @@ IMAGE_TYPE = {
|
||||
"GRAYSCALE": ImageGrayscale,
|
||||
"RGB565": ImageRGB565,
|
||||
"RGB": ImageRGB,
|
||||
"TRANSPARENT_BINARY": ReplaceWith(
|
||||
"'type: BINARY' and 'use_transparency: chroma_key'"
|
||||
),
|
||||
"TRANSPARENT_BINARY": ReplaceWith("'type: BINARY' and 'transparency: chroma_key'"),
|
||||
"RGB24": ReplaceWith("'type: RGB'"),
|
||||
"RGBA": ReplaceWith("'type: RGB' and 'use_transparency: alpha_channel'"),
|
||||
"RGBA": ReplaceWith("'type: RGB' and 'transparency: alpha_channel'"),
|
||||
}
|
||||
|
||||
TransparencyType = image_ns.enum("TransparencyType")
|
||||
|
@ -834,12 +834,12 @@ image:
|
||||
resize: 256x48
|
||||
file: $component_dir/logo-text.svg
|
||||
type: RGB565
|
||||
use_transparency: alpha_channel
|
||||
transparency: alpha_channel
|
||||
- id: dog_image
|
||||
file: $component_dir/logo-text.svg
|
||||
resize: 256x48
|
||||
type: BINARY
|
||||
use_transparency: chroma_key
|
||||
transparency: chroma_key
|
||||
|
||||
color:
|
||||
- id: light_blue
|
||||
|
Loading…
x
Reference in New Issue
Block a user