diff --git a/src/components/map/ha-entity-marker.ts b/src/components/map/ha-entity-marker.ts index 178de1063f6c..8efa96e9fc0c 100644 --- a/src/components/map/ha-entity-marker.ts +++ b/src/components/map/ha-entity-marker.ts @@ -56,6 +56,9 @@ class HaEntityMarker extends LitElement { .marker.picture { overflow: hidden; } + .marker:not(.picture) { + text-align: center; + } .entity-picture { background-size: cover; height: 100%;