Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'fgcolor' is undefined in hasp_Display_Dimmer_with_Icon.yaml #220

Open
SylvainGa opened this issue Dec 22, 2022 · 1 comment
Open

'fgcolor' is undefined in hasp_Display_Dimmer_with_Icon.yaml #220

SylvainGa opened this issue Dec 22, 2022 · 1 comment

Comments

@SylvainGa
Copy link

Hi, running 2022.12.8 (but had it with 2022.12.0 as well, hence why I updated). When starting Home Assistant, I'm seeing this for every dimmer button configured with HASPone automation.

2022-12-21 20:45:45.482 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'fgcolor' is undefined when rendering '["delay=1","xstr {{xpos}},{{ypos}},{{iconwidth}},{{iconheight}},{{iconfont}},{{fgcolor}},0,1,1,3,\"{{icon}}\"","delay=1","vis {{dimmerbutton}},1"]'

@SylvainGa
Copy link
Author

Hi, I ran

sudo sed -i 's/fgcolor/selectedfg/g' hasp_Display_Dimmer_with_Icon.yaml

and I don't see any side effect, beside the removal of the warning in the log file. Is this an acceptable fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant