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

Setting background to sensor value, possible? #419

Open
danwie opened this issue Dec 24, 2024 · 1 comment
Open

Setting background to sensor value, possible? #419

danwie opened this issue Dec 24, 2024 · 1 comment

Comments

@danwie
Copy link

danwie commented Dec 24, 2024

Can I use card-mod to set the background in a dashboard to a specific sensor?

body {
  background-image: url('{{ states('sensor.unsplash_background') }}');
  background-size: cover;
  background-position: center;
}

I've tried different things but I'm not able to get any css output.

@ildar170975
Copy link
Contributor

Have you read it?
image

Not a bug, suggest to use Community.

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

2 participants