@DBuit here is my lovelace configuration for Homekit views:
- title: Control lights
icon: 'mdi:home-lightbulb-outline'
panel: true
cards:
- type: picture-elements
image: /local/ui2/floorplan/blurredFloorplan.png
style: |
ha-card {
background: rgba(42, 46, 48, 1)
}
elements:
#################################################################
# #
# Homekit Styled Card: #
# https://github.com/DBuit/Homekit-panel-card #
# #
#################################################################
- enableColumns: true
popup:
brightnessHeight: 350px
brightnessWidth: 130px
scenesInARow: 2
switchHeight: 300px
switchWidth: 110px
type: 'custom:light-popup-card'
rows:
- columns:
- column: 1
entities:
- entities:
- entity: light.shelly_shdm_1_db3e78
icon: 'mdi:spotlight-beam'
name: Spotice
popup:
brightnessHeight: 350px
brightnessWidth: 130px
scenesInARow: 2
supportedFeaturesTreshold: -1
switchHeight: 300px
switchWidth: 110px
entity: light.shelly_shdm_1_db3e78
type: 'custom:light-popup-card'
- entity: light.living_room_ledr
icon: 'mdi:led-strip-variant'
name: LED traka
- entity: light.block_lamp
icon: 'mdi:lamp'
name: Blok
- entity: light.flos_lamp
icon: 'mdi:floor-lamp-variant'
name: Flos
- entity: light.tv_led
icon: 'mdi:led-strip-variant'
name: TV LED
title: Dnevni
tileOnRow: 2
- column: 3
entities:
- entities:
- entity: light.shelly_shsw_25_98f4abf2cb95_1
icon: 'mdi:spotlight-beam'
name: Spotice
- entity: light.living_room_ledl
icon: 'mdi:led-strip-variant'
name: LED traka
- entity: light.shelly_shsw_25_98f4abf2cb95_2
icon: 'mdi:ceiling-light'
name: Enigma
title: Blagovaonica
tileOnRow: 1
- column: 3
entities:
- entities:
- entity: light.shelly_shsw_1_68bf12
icon: 'mdi:spotlight-beam'
name: Spotice
- entity: switch.sonoff_10004f5b71 #light.kitchen_led
icon: 'mdi:led-strip-variant'
name: LED traka
- entity: light.shelly_shsw_1_8caab5060e1c
icon: 'mdi:ceiling-light'
name: Bell
title: Kuhinja
tileOnRow: 1
- column: 4
entities:
- entities:
- entity: light.office_led
icon: 'mdi:led-strip-variant'
name: LED traka
title: Ured
tileOnRow: 1
row: 1
- columns:
- column: 1
entities:
- entities:
- entity: light.shelly_shdm_1_d48400
icon: 'mdi:spotlight-beam'
name: Spotice
popup:
brightnessHeight: 350px
brightnessWidth: 130px
scenesInARow: 2
supportedFeaturesTreshold: -1
switchHeight: 300px
switchWidth: 110px
entity: light.shelly_shdm_1_d48400
type: 'custom:light-popup-card'
title: Hodnik
# tileOnRow: 2
- column: 2
entities:
- entities:
- entity: light.shelly_shsw_1_e098068ce4be
icon: 'mdi:ceiling-light'
name: Mala
- entity: light.shelly_shsw_1_8caab5055136
icon: 'mdi:ceiling-light'
name: Velika
title: Kupaonice
tileOnRow: 1
- column: 3
entities:
- entities:
- entity: light.shelly_shsw_1_e098068ceb27
icon: 'mdi:ceiling-light'
name: Norm 69
popup:
brightnessHeight: 350px
brightnessWidth: 130px
scenesInARow: 2
switchHeight: 300px
switchWidth: 110px
entity: light.shelly_shsw_1_e098068ceb27
type: 'custom:light-popup-card'
- entity: light.bedroom_led
icon: 'mdi:led-strip-variant'
name: LED traka
# - entity: light.bedroom_light_ikea
# icon: 'mdi:ceiling-light'
# name: IKEA TRADFRI
# popup:
# brightnessHeight: 350px
# brightnessWidth: 130px
# scenesInARow: 2
# switchHeight: 300px
# switchWidth: 110px
# entity: light.bedroom_light_ikea
# type: 'custom:light-popup-card'
title: Spavaća soba
tileOnRow: 1
- column: 4
entities:
- entities:
- entity: light.shelly_shsw_1_8caab505bea8
icon: 'mdi:ceiling-light'
name: Nora
- entity: light.shelly_shsw_1_68bef0
icon: 'mdi:ceiling-light'
name: Val
title: Dječje sobe
tileOnRow: 1
- column: 5
entities:
- entities:
- entity: light.shelly_shsw_1_8caab505d8b1
icon: 'mdi:ceiling-light'
name: LED
title: Podrum
tileOnRow: 1
row: 2
statePositionTop: true
style:
height: 97%
left: 62%
top: 50%
width: 78%
# height: 97%
# left: 52%
# top: 50%
# width: 78%
type: 'custom:homekit-card'
So on my PC I can see all the cards:
and in the same time on my mobile (phone and tablet) only some cards are visible - in landscape mode more is visible but I can scroll down just a little bit to see some of the cards:
How can I resize tile size… I have tried under style but I didn’t manage to do so…