Hi all,
I'm trying to create a dashboard with map view that would let me choose a day and show location history for that particular day. I'm following this guide https://userbag.co.uk/development/home-assistant-exploring-location-history/ that uses the advanced map card from HACS (https://github.com/nathan-gs/ha-map-card) together with the built-in energy-date-selector card.
My problem is that the energy-date-selector card does not contain anything, it is just an empty white box. I have also tried using another community card https://github.com/flixlix/energy-period-selector-plus, but that one is also empty.
One reason why this might be is that my energy dashboard is empty, as I don't have any devices/sensors related to energy, but I do not know how to fix this. It can also be caused by something else, I just have no idea what that might be. Has anyone came across this issue, and if yes, were you able to fix it? Many thanks for any help.
Here's the yaml config for my panel card:
type: panel
path: test2
title: test2
cards:
- type: grid
square: false
cards:
- type: energy-date-selection
card_mod:
style: |
ha-card {
z-index: 1;
position: absolute;
height: 80px !important;
width: 80%;
top: 75px;
right: 10px;
max-width: 450px;
}
- type: custom:map-card
history_date_selection: true
card_size: 16
entities:
- zone.home
- ...more zones
card_mod:
style: |
ha-card {
margin-top: -10px;
}
ha-card #map {
height:calc(100vh - 56px);
border-radius:0;
}
columns: 1
The style changes only affect where the card appears, even without them the date selector card is empty