Skip to content

Commit

Permalink
change default of backup actions card feature to no backup (#23444)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten authored Dec 25, 2024
1 parent 1daaf50 commit 704e7f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { LovelaceCardFeature, LovelaceCardFeatureEditor } from "../types";
import { cardFeatureStyles } from "./common/card-feature-styles";
import type { UpdateActionsCardFeatureConfig } from "./types";

export const DEFAULT_UPDATE_BACKUP_OPTION = "ask";
export const DEFAULT_UPDATE_BACKUP_OPTION = "no";

export const supportsUpdateActionsCardFeature = (stateObj: HassEntity) => {
const domain = computeDomain(stateObj.entity_id);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class HuiUpdateActionsCardFeatureEditor
disabled: !supportsBackup,
selector: {
select: {
default: "yes",
default: "no",
mode: "dropdown",
options: ["ask", "yes", "no"].map((option) => ({
value: option,
Expand Down

0 comments on commit 704e7f2

Please sign in to comment.