Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.selector.IconSelector Class Reference
Inheritance diagram for homeassistant.helpers.selector.IconSelector:
[legend]
Collaboration diagram for homeassistant.helpers.selector.IconSelector:
[legend]

Public Member Functions

str __call__ (self, Any data)
 
None __init__ (self, IconSelectorConfig|None config=None)
 

Static Public Attributes

 CONFIG_SCHEMA
 
string selector_type = "icon"
 

Detailed Description

Selector for an icon.

Definition at line 873 of file selector.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.helpers.selector.IconSelector.__init__ (   self,
IconSelectorConfig | None   config = None 
)
Instantiate a selector.

Definition at line 883 of file selector.py.

Member Function Documentation

◆ __call__()

str homeassistant.helpers.selector.IconSelector.__call__ (   self,
Any  data 
)
Validate the passed selection.

Definition at line 887 of file selector.py.

Member Data Documentation

◆ CONFIG_SCHEMA

homeassistant.helpers.selector.IconSelector.CONFIG_SCHEMA
static
Initial value:
= vol.Schema(
{vol.Optional("placeholder"): str}
# Frontend also has a fallbackPath option, this is not used by core
)

Definition at line 878 of file selector.py.

◆ selector_type

string homeassistant.helpers.selector.IconSelector.selector_type = "icon"
static

Definition at line 876 of file selector.py.


The documentation for this class was generated from the following file: