Hide device trackers from generated lovelace (#4487)

This commit is contained in:
Paulus Schoutsen 2020-01-15 23:57:41 -08:00 committed by Bram Kragten
parent e8fb79e5ce
commit e3346483b9

View File

@ -39,17 +39,17 @@ import { processEditorEntities } from "../editor/process-editor-entities";
const DEFAULT_VIEW_ENTITY_ID = "group.default_view"; const DEFAULT_VIEW_ENTITY_ID = "group.default_view";
const DOMAINS_BADGES = [ const DOMAINS_BADGES = [
"binary_sensor", "binary_sensor",
"person",
"device_tracker",
"mailbox", "mailbox",
"person",
"sensor", "sensor",
"sun", "sun",
"timer", "timer",
]; ];
const HIDE_DOMAIN = new Set([ const HIDE_DOMAIN = new Set([
"persistent_notification",
"configurator", "configurator",
"device_tracker",
"geo_location", "geo_location",
"persistent_notification",
]); ]);
let subscribedRegistries = false; let subscribedRegistries = false;