mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 05:27:46 +00:00
Hide device trackers from generated lovelace (#4487)
This commit is contained in:
parent
e8fb79e5ce
commit
e3346483b9
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user