d93687b5ac58c1009d270b766cab9bc76597edb1,homeassistant/helpers/selector.py,TargetSelector,TargetSelector_1,#,123

Before Change


    Value should follow cv.ENTITY_SERVICE_FIELDS format.
    

    CONFIG_SCHEMA = vol.Schema({"entity": {"domain": str, "device_class": str}})

After Change


    

    CONFIG_SCHEMA = vol.Schema(
        {
            vol.Optional("entity"): vol.Schema(
                {
                    vol.Optional("domain"): str,
                    vol.Optional("device_class"): str,
                    vol.Optional("integration"): str,
                }
            ),
            vol.Optional("device"): vol.Schema(
                {
                    vol.Optional("integration"): str,
                    vol.Optional("manufacturer"): str,
                    vol.Optional("model"): str,
                }
            ),
        }
    )


@SELECTORS.register("action")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: home-assistant/home-assistant
Commit Name: d93687b5ac58c1009d270b766cab9bc76597edb1
Time: 2020-12-02
Author: mail@bramkragten.nl
File Name: homeassistant/helpers/selector.py
Class Name: TargetSelector
Method Name: TargetSelector_1


Project Name: home-assistant/home-assistant
Commit Name: d93687b5ac58c1009d270b766cab9bc76597edb1
Time: 2020-12-02
Author: mail@bramkragten.nl
File Name: homeassistant/helpers/selector.py
Class Name: TargetSelector
Method Name: TargetSelector_1


Project Name: home-assistant/home-assistant
Commit Name: c459789c09c996cb7cf2edcceb8f471867fbcf6a
Time: 2021-03-29
Author: erik@montnemery.com
File Name: homeassistant/components/cover/device_trigger.py
Class Name:
Method Name: async_get_trigger_capabilities


Project Name: home-assistant/home-assistant
Commit Name: d93687b5ac58c1009d270b766cab9bc76597edb1
Time: 2020-12-02
Author: mail@bramkragten.nl
File Name: homeassistant/helpers/selector.py
Class Name: AreaSelector
Method Name: AreaSelector_1