{% set ns = namespace(found=[]) %}{% for item in device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') %}{% set match = item | regex_findall(find='^sensor\\..+[a-zA-Z]_1.*$') %}{% if match | length > 0 %}{% set ns.found = ns.found + match %}{% endif %}{% endfor %}{{ ns.found }}


Question: Office Button


Question: Night Light


Question: Basement Switch


Turns 3D printer light on/off when input_boolean.3d_printer_light is toggled


Syncs input_boolean.3d_printer_light when 3D printer light is toggled manually

{{ is_state('input_boolean.3d_printer_light', 'on') != is_state('light.3d_printer_lights', 'on') }}


cam1 = config["views"][0]["sections"][0]["cards"][1]
cam2 = {
    "type": "custom:webrtc-camera",
    "url": "https://endercamera2.duckdns.org/?action=stream",
    "mode": "mse",
    "grid_options": {"columns": "half"}
}
cam1["grid_options"] = {"columns": "half"}
config["views"][0]["sections"][0]["cards"].insert(2, cam2)

config_hash is required for python_transform

For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.


cam_stack = config["views"][0]["sections"][0]["cards"][4]
new_cam_stack = {
    "type": "vertical-stack",
    "cards": [
        {
            "type": "custom:webrtc-camera",
            "url": "https://endercamera2.duckdns.org/?action=stream",
            "mode": "mse",
            "style": "border-radius: 12px 12px 0 0; overflow: hidden;"
        },
        {
            "type": "custom:mushroom-light-card",
            "entity": "light.3d_printer_lights",
            "name": "Lamp",
            "icon": "mdi:lightbulb",
            "show_brightness_control": True,
            "layout": "horizontal"
        }
    ]
}
config["views"][0]["sections"][0]["cards"].insert(5, new_cam_stack)


new_cam_stack = {
    "type": "vertical-stack",
    "cards": [
        {
            "type": "custom:webrtc-camera",
            "url": "https://endercamera2.duckdns.org/?action=stream",
            "mode": "mse",
            "style": "border-radius: 12px 12px 0 0; overflow: hidden;"
        },
        {
            "type": "custom:mushroom-light-card",
            "entity": "light.3d_printer_lights",
            "name": "Lamp",
            "icon": "mdi:lightbulb",
            "show_brightness_control": True,
            "layout": "horizontal"
        }
    ]
}
config["views"][0]["sections"][0]["cards"].insert(5, new_cam_stack)


config["views"][0]["sections"][0]["cards"][1]["grid_options"] = {"columns": "full"}
config["views"][0]["sections"][0]["cards"][2]["grid_options"] = {"columns": "full"}


Question: camera


Question: ender


Question: printer


Question: octoprint


Question: octoprint