trying to add homeassistant cards as selectors

This commit is contained in:
Chris Cochrun 2021-03-10 13:32:42 -06:00
parent 6aa1c37b2e
commit 8e0acb1e44

View file

@ -1495,7 +1495,53 @@ c.hints.radius = 6
## CSS selectors used to determine which elements on a page should have
## hints.
## Type: Dict
# c.hints.selectors = {'all': ['a', 'area', 'textarea', 'select', 'input:not([type="hidden"])', 'button', 'frame', 'iframe', 'img', 'link', 'summary', '[onclick]', '[onmousedown]', '[role="link"]', '[role="option"]', '[role="button"]', '[ng-click]', '[ngClick]', '[data-ng-click]', '[x-ng-click]', '[tabindex]'], 'links': ['a[href]', 'area[href]', 'link[href]', '[role="link"][href]'], 'images': ['img'], 'media': ['audio', 'img', 'video'], 'url': ['[src]', '[href]'], 'inputs': ['input[type="text"]', 'input[type="date"]', 'input[type="datetime-local"]', 'input[type="email"]', 'input[type="month"]', 'input[type="number"]', 'input[type="password"]', 'input[type="search"]', 'input[type="tel"]', 'input[type="time"]', 'input[type="url"]', 'input[type="week"]', 'input:not([type])', 'textarea']}
# c.hints.selectors = {'all': ['a',
# 'area',
# 'textarea',
# 'select',
# 'input:not([type="hidden"])',
# 'button',
# 'frame',
# 'iframe',
# 'img',
# 'link',
# 'summary',
# '[onclick]',
# '[onmousedown]',
# '[role="link"]',
# '[role="option"]',
# '[role="button"]',
# '[ng-click]',
# '[ngClick]',
# '[data-ng-click]',
# '[x-ng-click]',
# '[tabindex]'],
# 'links': ['a[href]',
# 'area[href]',
# 'link[href]',
# '[role="link"][href]'],
# 'images': ['img'],
# 'media': ['audio',
# 'img',
# 'video'],
# 'url': ['[src]',
# '[href]'],
# 'inputs': ['input[type="text"]',
# 'input[type="date"]',
# 'input[type="datetime-local"]',
# 'input[type="email"]',
# 'input[type="month"]',
# 'input[type="number"]',
# 'input[type="password"]',
# 'input[type="search"]',
# 'input[type="tel"]',
# 'input[type="time"]',
# 'input[type="url"]',
# 'input[type="week"]',
# 'input:not([type])',
# 'textarea']}
c.hints.selectors['all'].append('ha-icon')
## Make characters in hint strings uppercase.
## Type: Bool