mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Automation and vacuum rows toggleable. (#1490)
This commit is contained in:
parent
bc71019573
commit
5d7e4322eb
@ -15,6 +15,7 @@ import createErrorCardConfig from './create-error-card-config.js';
|
|||||||
|
|
||||||
const CUSTOM_TYPE_PREFIX = 'custom:';
|
const CUSTOM_TYPE_PREFIX = 'custom:';
|
||||||
const DOMAIN_TO_ELEMENT_TYPE = {
|
const DOMAIN_TO_ELEMENT_TYPE = {
|
||||||
|
automation: 'toggle',
|
||||||
cover: 'cover',
|
cover: 'cover',
|
||||||
fan: 'toggle',
|
fan: 'toggle',
|
||||||
group: 'toggle',
|
group: 'toggle',
|
||||||
@ -27,7 +28,8 @@ const DOMAIN_TO_ELEMENT_TYPE = {
|
|||||||
scene: 'scene',
|
scene: 'scene',
|
||||||
script: 'script',
|
script: 'script',
|
||||||
timer: 'timer',
|
timer: 'timer',
|
||||||
switch: 'toggle'
|
switch: 'toggle',
|
||||||
|
vacuum: 'toggle'
|
||||||
};
|
};
|
||||||
|
|
||||||
function _createElement(tag, config) {
|
function _createElement(tag, config) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user