Skip to content

Commit 5c06a03

Browse files
committed
Fix json string
1 parent c4bf0c7 commit 5c06a03

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

custom_components/ir_light/config_flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ async def async_step_colors(self, user_input=None) -> FlowResult:
9292
step_id="colors",
9393
data_schema=vol.Schema(color_fields),
9494
description_placeholders={
95-
"Guide": "Use color wheel"
95+
"Guide": "Use color wheel",
96+
"color_wheel_url": "https://en.wikipedia.org/wiki/Color_wheel#/media/File:RGB_color_wheel_with_hue_and_hex.svg"
9697
},
9798
errors=errors
9899
)

custom_components/ir_light/translations/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"colors": {
2323
"title": "IR Color Mapping",
24-
"description": "Configure your IR buttons. White, Red, Green, and Blue are required.\n\nGuide: [Color Wheel](https://en.wikipedia.org/wiki/Color_wheel#/media/File:RGB_color_wheel_with_hue_and_hex.svg)",
24+
"description": "Configure your IR buttons. White, Red, Green, and Blue are required.\n\nGuide: [Color Wheel]({color_wheel_url})",
2525
"data": {
2626
"color_white": "White (Required)",
2727
"color_red": "Red (Required)",
@@ -62,7 +62,7 @@
6262
},
6363
"colors": {
6464
"title": "IR Color Mapping",
65-
"description": "Configure your IR buttons. White, Red, Green, and Blue are required.\n\nGuide: [Color Wheel](https://en.wikipedia.org/wiki/Color_wheel#/media/File:RGB_color_wheel_with_hue_and_hex.svg)",
65+
"description": "Configure your IR buttons. White, Red, Green, and Blue are required.\n\nGuide: [Color Wheel]({color_wheel_url})",
6666
"data": {
6767
"color_white": "White (Required)",
6868
"color_red": "Red (Required)",

0 commit comments

Comments
 (0)