Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95284

Hide Map Card when person's not home?

$
0
0

@jono wrote:

I’ve added a Map Card to show a person in my family’s location, but I’d like to hide that card when the person is home. I’m guessing it could be done with Entity Filter or Auto Entities but I’m not sure how.

Here is my code for the Map Card used in ui-lovelace.yaml

  - type: map
    aspect_ratio: 16:9
    default_zoom: 15
    entities:
      - device_tracker.persons_iphone

Just to be clear I want to hide the whole map when the person is home, not just hide the person from the map. Does anyone have any idea how to do this?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>