From 318e7b19e1de924c90461e1ae4dbc009f42e7f1b Mon Sep 17 00:00:00 2001 From: Alex Boyd Date: Sat, 16 Apr 2022 15:20:17 -0600 Subject: [PATCH] Add browser_mod.window_reload to services.yaml (#314) --- README.md | 2 +- custom_components/browser_mod/services.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 07156e7..f7ff54b 100644 --- a/README.md +++ b/README.md @@ -419,7 +419,7 @@ service: browser_mod.lovelace_reload
window_reload -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. diff --git a/custom_components/browser_mod/services.yaml b/custom_components/browser_mod/services.yaml index 5395dbf..f32b31f 100644 --- a/custom_components/browser_mod/services.yaml +++ b/custom_components/browser_mod/services.yaml @@ -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: