Add browser_mod.window_reload to services.yaml (#314)
This commit is contained in:
		
							parent
							
								
									12179c7fde
								
							
						
					
					
						commit
						318e7b19e1
					
				@ -419,7 +419,7 @@ service: browser_mod.lovelace_reload
 | 
				
			|||||||
</details>
 | 
					</details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<details><summary>window_reload</summary>
 | 
					<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.
 | 
					> Note: This is not guaranteed to clear the frontend cache.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -115,6 +115,12 @@ lovelace_reload:
 | 
				
			|||||||
    deviceID:
 | 
					    deviceID:
 | 
				
			||||||
      description: "(optional) List of receiving browsers"
 | 
					      description: "(optional) List of receiving browsers"
 | 
				
			||||||
      example: '["99980b13-dabc9563", "office_computer"]'
 | 
					      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:
 | 
					delay:
 | 
				
			||||||
  description: "Do nothing for a while"
 | 
					  description: "Do nothing for a while"
 | 
				
			||||||
  fields:
 | 
					  fields:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user