Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 39 additions & 12 deletions src/panels/config/dashboard/ha-config-dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,45 @@ class HaConfigDashboard extends NavigateMixin(LocalizeMixin(PolymerElement)) {
<ha-icon-next></ha-icon-next>
</paper-item>
</a>

<a href='/config/users' tabindex="-1">
<paper-item>
<paper-item-body two-line>
[[localize('ui.panel.config.users.caption')]]
<div secondary>
[[localize('ui.panel.config.users.description')]]
</div>
</paper-item-body>
<ha-icon-next></ha-icon-next>
</paper-item>
</a>
<template is="dom-if" if="[[computeIsLoaded(hass, 'automation')]]">
<a href='/config/automation' tabindex="-1">
<paper-item>
<paper-item-body two-line>
[[localize('ui.panel.config.automation.caption')]]
<div secondary>
[[localize('ui.panel.config.automation.description')]]
</div>
</paper-item-body>
<ha-icon-next></ha-icon-next>
</paper-item>
</a>
</template>
<template is="dom-if" if="[[computeIsLoaded(hass, 'script')]]">
<a href='/config/script' tabindex="-1">
<paper-item>
<paper-item-body two-line>
[[localize('ui.panel.config.script.caption')]]
<div secondary>
[[localize('ui.panel.config.script.description')]]
</div>
</paper-item-body>
<ha-icon-next></ha-icon-next>
</paper-item>
</a>
</template>
<template is="dom-if" if="[[computeIsLoaded(hass, 'scene')]]">
<a href='/config/scene' tabindex="-1">
<paper-item>
<paper-item-body two-line>
[[localize('ui.panel.config.scene.caption')]]
<div secondary>
[[localize('ui.panel.config.scene.description')]]
</div>
</paper-item-body>
<ha-icon-next></ha-icon-next>
</paper-item>
</a>
</template>
</ha-card>

<ha-config-navigation
Comment thread
ludeeus marked this conversation as resolved.
Outdated
Expand Down
6 changes: 2 additions & 4 deletions src/panels/config/dashboard/ha-config-navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ const PAGES: Array<{
}> = [
{ page: "core", core: true },
{ page: "server_control", core: true },
{ page: "person" },
{ page: "entity_registry", core: true },
{ page: "area_registry", core: true },
{ page: "automation" },
{ page: "script" },
{ page: "scene" },
{ page: "person" },
{ page: "users", core: true },
{ page: "zha" },
{ page: "zwave" },
{ page: "customize", core: true, advanced: true },
Expand Down
18 changes: 9 additions & 9 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -661,10 +661,10 @@
}
},
"area_registry": {
"caption": "Area Registry",
"caption": "Areas",
"description": "Overview of all areas in your home.",
"picker": {
"header": "Area Registry",
"header": "Areas",
"introduction": "Areas are used to organize where devices are. This information will be used throughout Home Assistant to help you in organizing your interface, permissions and integrations with other systems.",
"introduction2": "To place devices in an area, use the link below to navigate to the integrations page and then click on a configured integration to get to the device cards.",
"integrations_page": "Integrations page",
Expand Down Expand Up @@ -704,7 +704,7 @@
}
},
"server_control": {
"caption": "Server Control",
"caption": "Server Controls",
"description": "Restart and stop the Home Assistant server",
"section": {
"validation": {
Expand Down Expand Up @@ -734,10 +734,10 @@
}
},
"customize": {
"caption": "Customization",
"caption": "Customizations",
"description": "Customize your entities",
"picker": {
"header": "Customization",
"header": "Customizations",
"introduction": "Tweak per-entity attributes. Added/edited customizations will take effect immediately. Removed customizations will take effect when the entity is updated."
},
"warning": {
Expand All @@ -754,7 +754,7 @@
"pick_attribute": "Pick an attribute to override"
},
"automation": {
"caption": "Automation",
"caption": "Automations",
"description": "Create and edit automations",
"picker": {
"header": "Automation Editor",
Expand Down Expand Up @@ -977,7 +977,7 @@
}
},
"script": {
"caption": "Script",
"caption": "Scripts",
"description": "Create and edit scripts",
"picker": {
"header": "Script Editor",
Expand Down Expand Up @@ -1229,10 +1229,10 @@
}
},
"entity_registry": {
"caption": "Entity Registry",
"caption": "Entities",
"description": "Overview of all known entities.",
"picker": {
"header": "Entity Registry",
"header": "Entities",
"introduction": "Home Assistant keeps a registry of every entity it has ever seen that can be uniquely identified. Each of these entities will have an entity ID assigned which will be reserved for just this entity.",
"introduction2": "Use the entity registry to override the name, change the entity ID or remove the entry from Home Assistant. Note, removing the entity registry entry won't remove the entity. To do that, follow the link below and remove it from the integrations page.",
"integrations_page": "Integrations page",
Expand Down