Strange behaviour with map cards

I have two different dashboards, one for mac browser and one for mobile.
In both i have configured map cards to show the location of two different device trackers, with the same configured card:

In the main dashboard i have as tap_action of a button the following code

                tap_action:
                  action: call-service
                  service: browser_mod.popup
                  service_data:
                    title: Map
                    card:
                      type: map
                      default_zoom: 14                    
                      entities:
                        - device_tracker.life360_maurizio_fabiani
                      hours_to_show: 24
                      dark_mode: false

And this is the screenshot i get:

Schermata 2021-02-02 alle 17.08.44

In the mobile dashboard i have as card the following:

      tap_action:
          action: call-service
          service: browser_mod.popup
          service_data:
            title: Map
            card:
              type: map
              entities:
                - device_tracker.life360_maurizio_fabiani
              aspect_ratio: 16:9
              dark_mode: false
              default_zoom: 14
              hors_to_show: 24

And this is the screenshot i get:

Schermata 2021-02-02 alle 17.10.43

Why that difference? Why in the mobile dashboard i don’t get the history of my movements?

I’ve been using this for months… Never seen the history, always been curious if it was even possible.

Edit:
Just updated my “hours to show” and boom.

Also… you have a spelling mistake

      tap_action:
          action: call-service
          service: browser_mod.popup
          service_data:
            title: Map
            card:
              type: map
              entities:
                - device_tracker.life360_maurizio_fabiani
              aspect_ratio: 16:9
              dark_mode: false
              default_zoom: 14
              hours_to_show: 24

Bottom one has spelling mistake

Says hors_to_show, should be hours_to_show

Arghhhh… so simple fixing !!!
Thanks to both @digidude @91JJ

2 Likes

Hi

Is there a way to change map history line ?
I have two devices and default colors are similar, would like to be able to adjust colors for every device.

Thanks