Tweak popup timing

This commit is contained in:
2022-07-24 23:41:37 +00:00
parent 3303d86614
commit 23cbdaef2d
4 changed files with 51 additions and 21 deletions

View File

@@ -23,6 +23,7 @@ export const ServicesMixin = (SuperClass) => {
data:
[title: <string>]
[content: <string | Lovelace Card Configuration>]
[size: <NORMAL/wide/fullscreen>]
[right_button: <string>]
[right_button_action: <service call>]
[left_button: <string>]
@@ -31,6 +32,7 @@ export const ServicesMixin = (SuperClass) => {
[dismiss_action: <service call>]
[timeout: <number>]
[timeout_action: <service call>]
[style: <string>]
More-info:
service: browser_mod.more_info
@@ -95,6 +97,8 @@ export const ServicesMixin = (SuperClass) => {
let _service: String = service;
if (!_service.startsWith("browser_mod.") && _service.includes(".")) {
// CALL HOME ASSISTANT SERVICE
const [domain, srv] = _service.split(".");
return this.hass.callService(domain, srv, data);
}
if (_service.startsWith("browser_mod.")) {