Checks the config and restarts Home Assistant found in active browser tab with single button quick access, no configuration required

Latest Version

Version
2.0
Update
February 9, 2020
Size
84.21KiB
Developer
Category
Users
672
Rating
3 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
See more

Home Assistant Quick Restart Extension

This extension add a button to chrome address bar that will activate when Home Assistant is detected in the active browser tab. Once button is click, a config check will be performed and if successful will restart Home Assistant. No configuration is required to use this extension, Home Assistant is detected in the active tab and a secure connection is established to perform the actions.

Version 2.0 Updates
- Still no configuration required! and now no tab refresh is ever required either!!
- Now I'll check if current access_token is valid, if not we'll go and grab a new one
- Minor description and icon updates
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Home Assistant Quick Restart", "description": "Checks the config and restarts Home Assistant found in active browser tab with single button quick access, no configuration required", "version": "2.0", "author": "Warwick Ward", "homepage_url": "https://github.com/warwickofthegh/Browser-Extension-Home-Assistant-Quick-Restart", "icons": { "16":"images/icon_enabled-16.png", "24":"images/icon_enabled-24.png", "32":"images/icon_enabled-32.png", "48":"images/icon_enabled-48.png", "128":"images/icon_enabled-128.png" }, "background":{ "scripts":["background.js"] }, "page_action":{ "default_icon": { "16":"images/icon_disabled-16.png", "24":"images/icon_disabled-24.png", "32":"images/icon_disabled-32.png", "48":"images/icon_disabled-48.png", "128":"images/icon_disabled-128.png" }, "default_popup": "popup.html", "default_title": "Home Assistant Quick Restart" }, "commands": { "_execute_page_action": { "suggested_key": { "default": "Ctrl+Shift+H", "mac": "MacCtrl+Shift+H" }, "description": "Home Assistant Quick Restart" } }, "content_scripts": [{ "matches": [""], "js": ["content.js"] }], "permissions": [ "activeTab" ]}
Read more