Hi,
Just getting to grips with Home Assistant and in particular HADashboard, Im currently designing a lighting panel to control an open plan living area in a barn conversion.
This is what I’ve produced so far
Im reasonably happy with the results but the only thing i can’t seem to get working is the widget sizing currently between each section of light category’s i used the “spacer” tag, however as default it spaces a full square at 120 x 120 I’m wanting the “spacer” to only space 60 x 120l and to move all columns left and enable me to get an extra column in on the far right and fit it all nicely on an amazon fire 10" tablet
current layout config for above
widget_dimensions: [120, 120]
widget_size: [1, 1]
widget_margins: [5, 5]
columns: 10
I thought it would be as easy as setting widget_dimensions: [1, 1] and then on each individual widget in the layout set as…
- clock(120x120)
and then when i get to my spacer i could set at (60x120), but when i do this the whole layout goes wrong with widget’s randomly positioned all over.
Any advice would be much appreciated…
#
# Main arguments, all optional
#
title: House Lights
widget_dimensions: [120, 120]
widget_size: [1, 1]
widget_margins: [5, 5]
columns: 10
layout:
- clock(2x1), spacer(6x1), weather(2x1)
- light.bathroom_lights, light.sonoff_007, spacer, light.sonoff_010, light.sonoff_014, spacer, light.sonoff_018, light.sonoff_022, spacer, light.sonoff_026
- light.bedroom_lights, light.sonoff_008, spacer, light.sonoff_011, light.sonoff_015, spacer, light.sonoff_019, light.sonoff_023, spacer, light.sonoff_027
- light.dressing_room_lights, light.sonoff_009, spacer, light.sonoff_012, light.sonoff_016, spacer, light.sonoff_020, light.sonoff_024, spacer, light.sonoff_028
- light.chris_bedside_light, light.emily_bedside_light, spacer, light.sonoff_013, light.sonoff_017, spacer, light.sonoff_021, light.sonoff_025, spacer, light.sonoff_029
- spacer(9x1) , HOME