Skip to content

Commit

Permalink
Merge pull request #767 from basbruss/release
Browse files Browse the repository at this point in the history
Add custom_actions to ulm_templates
  • Loading branch information
basbruss authored Jun 22, 2022
2 parents 2ecc684 + 0b13ccd commit 8443c89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion custom_components/ui_lovelace_minimalist/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,12 @@ def configure_cards(hass: HomeAssistant, ulm: UlmBase):
hass.config.path(f"{combined_cards_dir}/custom_cards"),
dirs_exist_ok=True,
)

# Copy over manually installed custom_actions from user
shutil.copytree(
hass.config.path(f"{DOMAIN}/custom_actions"),
hass.config.path(f"{combined_cards_dir}/custom_actions"),
dirs_exist_ok=True,
)
# Copy over themes to defined themes folder
shutil.copytree(
hass.config.path(f"custom_components/{DOMAIN}/lovelace/themefiles"),
Expand Down

0 comments on commit 8443c89

Please sign in to comment.