mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
change default of backup actions card feature to no backup (#23444)
This commit is contained in:
parent
1daaf50773
commit
704e7f279f
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user