mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 20:55:49 +00:00
Add more binary sensors to security dashboard (#27041)
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com> Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
@@ -66,9 +66,30 @@ export const HOME_SUMMARIES_FILTERS: Record<HomeSummary, EntityFilter[]> = {
|
||||
},
|
||||
{
|
||||
domain: "binary_sensor",
|
||||
device_class: ["door", "garage_door", "motion"],
|
||||
device_class: [
|
||||
// Locks
|
||||
"lock",
|
||||
// Openings
|
||||
"door",
|
||||
"window",
|
||||
"garage_door",
|
||||
"opening",
|
||||
// Safety
|
||||
"carbon_monoxide",
|
||||
"gas",
|
||||
"moisture",
|
||||
"safety",
|
||||
"smoke",
|
||||
"tamper",
|
||||
],
|
||||
entity_category: "none",
|
||||
},
|
||||
// We also want the tamper sensors when they are diagnostic
|
||||
{
|
||||
domain: "binary_sensor",
|
||||
device_class: ["tamper"],
|
||||
entity_category: "diagnostic",
|
||||
},
|
||||
],
|
||||
media_players: [{ domain: "media_player", entity_category: "none" }],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user