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

Weather dashboard page Blueprint #110

Open
FabryStyle opened this issue Jan 5, 2023 · 10 comments
Open

Weather dashboard page Blueprint #110

FabryStyle opened this issue Jan 5, 2023 · 10 comments

Comments

@FabryStyle
Copy link

FabryStyle commented Jan 5, 2023

Hi
It's about 3 days that I'm trying to understand why this blueprint page doesn't work and I'm feel really DUMB right now.

I follow and triple check all the instructions multiple times but I'm still getting the same errors, please:

image

@LordNex
Copy link

LordNex commented Jan 6, 2023

Yep most of them are dead. If your lucky sometimes you can actually get it to display something if you leave all the OWM entities with their default name. See issue #104

@MicJour
Copy link
Contributor

MicJour commented Jan 6, 2023

The problem was that adding Blueprint no longer works as expected. Normally when adding a Blueprint that contains a Template, it is added automatically. For now you can add a file in the /config/dwains-dashboard/button_card_templates/blueprints/ directory. It should contain the following code.

‘’’

weather_dashboard_blueprint_heading:
show_icon: false
tyles:
card:
- box-shadow: none
- padding: 6px 0 0 0
- background: transparent
- width: 90px
name:
- font-weight: bold
- justify-self: start
- font-size: 16px
- padding-left: 1px
‘’’

Restart Home assistant.

0F0F1507-AFEE-4C0F-B483-8850C36ADE17

@vinnie1234
Copy link
Contributor

Add a pull request that fix all the problems and changed the documentation!

@vinnie1234
Copy link
Contributor

Fixes are merged with #119. Are there still problems left?

@LordNex
Copy link

LordNex commented Jan 26, 2023

Fixes are merged with #119. Are there still problems left?

Still the same for me. I haven't seen an update or anything so I can't see anything has changed

@vinnie1234
Copy link
Contributor

Dit you try adding the blueprint again?

Je can also go do:
Config/dwains-dashboard/blueprints/weather_dashboard_page_blueprint.yaml and copie the blueprint in that file. And the card in Config/dwains-dashboard/button_card_templates/blueprints/weather_dashboard_page_blueprint.yaml

Then edit youre page. When you submit the style has to be fixed.

@LordNex
Copy link

LordNex commented Jan 27, 2023

I've tried that. I still don't get an area to paste the blueprint in for one. Even if I manually create the blueprint in the directory, reload DD, and then try and add the page, I get a page much like the screenshot above that won't let me select the proper inputs and if saved says the blueprint can't be found.

I've deleted DD completely from my system and redownloaded it from HACS and it's the same. So unless he's pushed out a newer version that I don't have the issue is still there

@vinnie1234
Copy link
Contributor

Do you use v1.2 for the blueprint and add all the config settings?

When you are member of the discord, ask the question there and add @vinnie1234. Then I can help you in the weekend. (When you speak dutch, it can in the Dutch part)

@nwithan8
Copy link

nwithan8 commented Mar 5, 2023

If you want, I just took the blueprint, ripped out all the customization capabilities from it and hard-coded the names (English) and sensors (if you follow the setup instructions for that blueprint and don't manually change entity IDs, this should work out of the box).

Also used mushroom chips rather than the buttons for a bit of a visual facelift.

Add this as a normal Lovelace Card rather than as a blueprint
https://github.com/nwithan8/configs/blob/main/home_assistant/panels/weather.yaml

Thanks to @rwilson131 for making this in the first place!

@rwilson131
Copy link
Contributor

@nwithan8 I have added the mushroom chip cards, much better. Thanks.
@MichelJourdain do I need to do something different on my end for the installation?

@LordNex @FabryStyle it no longer uses button card with the changes from @nwithan8 I do not believe that fixes the issues @MichelJourdain is referring to with DD and new blueprints.

I have left all of the customization and updated some minor typos. I have created a pull request, so hopefully it will be available shortly.

https://github.com/rwilson131/dwains-dashboard-blueprints/tree/main/page-blueprints/weather-dashboard-openweathermap

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

6 participants