diff --git a/homeassistant/components/http/www_static/polymer/home-assistant-main.html b/homeassistant/components/http/www_static/polymer/home-assistant-main.html index 1f068b9eb935a6dbd7565d2691ef5b3a2aeac863..ef4243942e71de408b95e05bc09fe0ab2fd41193 100644 --- a/homeassistant/components/http/www_static/polymer/home-assistant-main.html +++ b/homeassistant/components/http/www_static/polymer/home-assistant-main.html @@ -43,6 +43,7 @@ <div flex> Home Assistant </div> + <core-icon-button icon="refresh" on-click="{{handleRefreshClick}}"></core-icon-button> <core-icon-button icon="developer-mode-tv" on-click="{{handleEventClick}}"></core-icon-button> <core-icon-button icon="settings-remote" on-click="{{handleServiceClick}}"></core-icon-button> </core-toolbar> @@ -62,6 +63,10 @@ this.api = this.$.api; }, + handleRefreshClick: function() { + this.api.fetchStates(); + }, + handleEventClick: function() { this.api.showFireEventDialog(); },