Skip to content

Commit

Permalink
Update config.yaml for card-mod 3.4 update
Browse files Browse the repository at this point in the history
Card-mod version 3.4 depreciated an old way to add CSS styles. Having card_mod: above style is now mandatory so this fixes that. More info here on that update here: thomasloven/lovelace-card-mod#332
  • Loading branch information
riskitforabiscuit1252 authored and Sian-Lee-SA committed Mar 26, 2024
1 parent 3aede8b commit cddb21a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Home Assistant Floorplan/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ views:
# Floorplan
#################################################
- type: 'custom:floorplan-card'
style: >
ha-card {
max-width: 150vh;
margin: 0 auto;
background: none;
box-shadow: none;
}
card_mod:
style: >
ha-card {
max-width: 150vh;
margin: 0 auto;
background: none;
box-shadow: none;
}
config:
image: '/local/floorplan_tutorial/floorplan_optimised.svg'
stylesheet: '/local/floorplan_tutorial/floorplan.css'
Expand Down

0 comments on commit cddb21a

Please sign in to comment.