94 lines
2.1 KiB
YAML

test:
description: "A debugging service"
target:
device:
integration: "browser_mod"
multiple: true
entity:
integration: "browser_mod_none"
area:
device:
integration: "browser_mod"
multiple: true
fields: {}
popup:
description: "Display a popup"
target:
device:
integration: "browser_mod"
multiple: true
entity:
integration: "browser_mod_none"
area:
device:
integration: "browser_mod"
multiple: true
fields:
title:
name: Title
description: "Popup title"
selector:
text:
content:
name: Content
required: true
description: "Popup content (Test or lovelace card configuration)"
selector:
object:
right_button:
name: Right button
description: Text of the right button
selector:
text:
right_button_action:
name: Right button action
description: Action to perform when the right button is pressed
selector:
object:
left_button:
name: Left button
description: Text of the left button
selector:
text:
left_button_action:
name: Left button action
description: Action to perform when left button is pressed
selector:
object:
dismissable:
name: User dismissable
description: Whether the popup can be closed by the user without action
default: true
selector:
boolean:
dismiss_action:
name: Dismiss action
description: Action to perform when popup is dismissed
selector:
object:
timeout:
name: Auto close timeout
description: Time before closing (ms)
selector:
number:
mode: box
timeout_action:
name: Timeout
description: Action to perform when popup is closed by timeout
selector:
object:
close_popup:
description: "Close a popup"
target:
device:
integration: "browser_mod"
multiple: true
entity:
integration: "browser_mod_none"
area:
device:
integration: "browser_mod"
multiple: true