Hallo zusammen,
ich bin relativ neu in der Home Assistant Welt. Bisher läuft auch alles reibungslos, bis auf ein kleines Problem mit dem Floorplan.
Ich habe den Einspeisewert meines Balkonkraftwerks als Sensor eingetragen. Allerdings lädt das Bild jetzt immer wieder neu, wenn sich der Sensorwert ändert, was ein wenig nervt. Lässt sich das irgendwie so lösen, dass sich nur der Wert ändert und das Bild nicht neu geladen wird?
Danke im Voraus für eure Hilfe!
Viele Grüße,
Udo
kiosk_mode:
entity_settings:
- entity:
input_boolean.tablet_vollbild_mode: 'on'
hide_sidebar: true
hide_header: true
views:
- title: Murmeltiernest
path: Flurplan
type: panel
icon: null
badges: []
cards:
- type: custom:config-template-card
entities:
- sun.sun
- sensor.muell_abholung_daytime
- light.kuche_6
- light.esstisch
- light.hue_white_lamp_1
- light.ambilight
- sensor.kuche_temperatur
- sensor.wohnen_temperatur
- sensor.essen_temperatur
- sensor.bad_temperatur
- sensor.buro_temperatur
- sensor.schlafen_temperatur
- sensor.aussen_temperatur
- sensor.aussen_luftfeuchtigkeit
- media_player.murmeltier_musik_2
- sensor.shellyplusplugs_c82e1807773c_switch_0_power
- input_boolean.tablet_vollbild_mode
card:
type: picture-elements
image: /local/floorplan/WHG_Nacht.png
style: |
ha-card:first-child {
background: rgba(42, 46, 48, 1)
}
elements:
- type: image
action: none
entity: sun.sun
state_image:
above_horizon: /local/floorplan/WHG_Tag_Leerung0.png
below_horizon: /local/floorplan/transparent.png
tap_action:
action: none
hold_action:
action: none
style:
top: 50%
left: 50%
width: 100%
height: 100%
- type: image
action: none
entity: sensor.muell_abholung_daytime
hold_action:
action: none
tap_action:
action: none
state_image:
'0': /local/floorplan/transparent.png
'1': /local/floorplan/WHG_Tag_Leerung1.png
'2': /local/floorplan/WHG_Tag_Leerung2.png
'3': /local/floorplan/WHG_Tag_Leerung3.png
'4': /local/floorplan/WHG_Tag_Leerung4.png
unavailable: /local/floorplan/transparentError.png
style:
mix-blend-mode: normal
top: 50%
left: 50%
width: 100%
height: 100%
- type: image
action: none
entity: light.kuche_6
hold_action:
action: none
tap_action:
action: none
state_image:
'on': /local/floorplan/K_Decke.png
'off': /local/floorplan/transparent.png
unavailable: /local/floorplan/transparentError.png
style:
mix-blend-mode: lighten
top: 50%
left: 50%
width: 100%
height: 100%
- type: image
action: none
entity: light.ambilight
hold_action:
action: none
tap_action:
action: none
image: /local/floorplan/WZ_Ambi_rot.png
style:
filter: >-
${ "hue-rotate(" +
(states['light.ambilight'].attributes.hs_color ?
states['light.ambilight'].attributes.hs_color[0] : 0) +
"deg)"}
opacity: >-
${states['light.ambilight'].state === 'on' ?
(states['light.ambilight'].attributes.brightness / 255) : '0'}
mix-blend-mode: lighten
top: 50%
left: 50%
width: 100%
height: 100%
- type: state-icon
entity: light.kuche_6
icon: mdi:lightbulb
style:
left: 33.75%
top: 46.1%
'--iron-icon-stroke-color': '#969696'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
tap_action:
action: toggle
- type: state-icon
entity: light.esstisch
icon: mdi:lightbulb
style:
left: 43.07%
top: 47.04%
'--iron-icon-stroke-color': '#969696'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
tap_action:
action: toggle
- type: state-icon
entity: light.hue_white_lamp_1
icon: mdi:lightbulb
style:
left: 55.94%
top: 50.93%
'--iron-icon-stroke-color': '#969696'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
tap_action:
action: toggle
- type: state-icon
entity: light.ambilight
icon: mdi:lightbulb
style:
left: 49.9%
top: 17.7%
'--iron-icon-stroke-color': '#969696'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
tap_action:
action: toggle
- type: state-label
entity: sensor.kuche_temperatur
style:
left: 29.3%
top: 46.1%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.wohnen_temperatur
style:
left: 44.95%
top: 31.67%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.essen_temperatur
style:
left: 47.29%
top: 54.35%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.bad_temperatur
style:
left: 57.3%
top: 55%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.buro_temperatur
style:
left: 28.5%
top: 30.8%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.schlafen_temperatur
style:
left: 70.2%
top: 44.63%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.aussen_temperatur
style:
left: 41.35%
top: 62.5%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-label
entity: sensor.aussen_luftfeuchtigkeit
style:
left: 41.35%
top: 67%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-icon
entity: media_player.murmeltier_musik_2
icon: mdi:speaker
style:
left: 50.26%
top: 23.7%
'--iron-icon-stroke-color': '#969696'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
- type: state-label
entity: sensor.shellyplusplugs_c82e1807773c_switch_0_power
style:
left: 44.43%
top: 69.26%
color: '#000'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
font-size: 11px
font-weight: bold
- type: state-icon
entity: input_boolean.tablet_vollbild_mode
icon: mdi:arrow-expand-all
style:
left: 67.55%
top: 23.80%
'--iron-icon-stroke-color': '#969696'
border-radius: 50%
text-align: center
background-color: rgba(255, 255, 255, 0.3)
tap_action:
action: toggle
