iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
133 lines (132 loc) • 3.26 kB
JavaScript
/**
* Fixed panels for frontend. Will show up in sidebar.
*/
module.exports = {
lovelace: {
component_name: 'lovelace',
icon: null,
title: null,
config: { mode: 'storage' },
url_path: 'lovelace',
require_admin: false,
},
/*"history": {
"component_name": "history",
"icon": "hass:poll-box",
"title": "history",
"config": null,
"url_path": "history",
"require_admin": false
},*/
config: {
component_name: 'config',
icon: 'hass:settings',
title: 'config',
config: null,
url_path: 'config',
require_admin: true,
},
/*"kiosk": {
"component_name": "kiosk",
"icon": null,
"title": null,
"config": null,
"url_path": "kiosk",
"require_admin": false
},*/
profile: {
component_name: 'profile',
icon: null,
title: null,
config: null,
url_path: 'profile',
require_admin: false,
},
/*
"states": {
"component_name": "states",
"icon": null,
"title": null,
"config": null,
"url_path": "states",
"require_admin": false
},
"dev-service": {
"component_name": "dev-service",
"icon": null,
"title": null,
"config": null,
"url_path": "dev-service",
"require_admin": true
},
"dev-mqtt": {
"component_name": "dev-mqtt",
"icon": null,
"title": null,
"config": null,
"url_path": "dev-mqtt",
"require_admin": true
},
"dev-template": {
"component_name": "dev-template",
"icon": null,
"title": null,
"config": null,
"url_path": "dev-template",
"require_admin": true
},
"dev-event": {
"component_name": "dev-event",
"icon": null,
"title": null,
"config": null,
"url_path": "dev-event",
"require_admin": true
},
"dev-state": {
"component_name": "dev-state",
"icon": null,
"title": null,
"config": null,
"url_path": "dev-state",
"require_admin": true
},
"dev-info": {
"component_name": "dev-info",
"icon": null,
"title": null,
"config": null,
"url_path": "dev-info",
"require_admin": true
},
"logbook": {
"component_name": "logbook",
"icon": "hass:format-list-bulleted-type",
"title": "logbook",
"config": null,
"url_path": "logbook",
"require_admin": false
},
"map": {
"component_name": "map",
"icon": "hass:tooltip-account",
"title": "map",
"config": null,
"url_path": "map",
"require_admin": false
},*/
'browser-mod': {
component_name: 'custom',
icon: 'mdi:server',
title: 'Browser Mod',
config: {
_panel_custom: {
name: 'browser-mod-panel',
js_url: '/cards/_static_browser_mod_panel.js',
},
},
url_path: 'browser-mod',
require_admin: false,
config_panel_domain: null,
},
};