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

This commit is contained in:
Alex Boyd 2022-04-16 15:20:17 -06:00 committed by GitHub
parent 12179c7fde
commit 318e7b19e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

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.

View File

@ -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: