Add browser_mod.window_reload to services.yaml (#314)

This commit is contained in:
Alex Boyd authored and GitHub committed 2022-04-16 23:20:17 +02:00
1 parent 12179c7fde
commit 318e7b19e1
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -419,7 +419,7 @@ service: browser_mod.lovelace_reload
</details>
<details><summary>window_reload</summary>
Forces the browser to reload the page. Same as clicking your browsers refresh button.
Forces the browser to reload the page. Same as clicking your browser's refresh button.
> Note: This is not guaranteed to clear the frontend cache.
@@ -115,6 +115,12 @@ lovelace_reload:
deviceID:
description: "(optional) List of receiving browsers"
example: '["99980b13-dabc9563", "office_computer"]'
window_reload:
description: "Forces the browser to reload the page. Same as clicking your browser's refresh button. Note: This is not guaranteed to clear the frontend cache."
fields:
deviceID:
description: "(optional) List of receiving browsers"
example: '["99980b13-dabc9563", "office_computer"]'
delay:
description: "Do nothing for a while"
fields: