mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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 DOMAIN_TO_ELEMENT_TYPE = {
|
||||
automation: 'toggle',
|
||||
cover: 'cover',
|
||||
fan: 'toggle',
|
||||
group: 'toggle',
|
||||
@ -27,7 +28,8 @@ const DOMAIN_TO_ELEMENT_TYPE = {
|
||||
scene: 'scene',
|
||||
script: 'script',
|
||||
timer: 'timer',
|
||||
switch: 'toggle'
|
||||
switch: 'toggle',
|
||||
vacuum: 'toggle'
|
||||
};
|
||||
|
||||
function _createElement(tag, config) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user