diff --git a/webapp/index.html b/webapp/index.html index e800e40..0d1629a 100644 --- a/webapp/index.html +++ b/webapp/index.html @@ -60,15 +60,6 @@ } - el = document.createElement('p'); - el.appendChild(document.createTextNode("Full charge state:")); - - state_json = document.createElement('pre'); - state_json.appendChild(document.createTextNode(JSON.stringify(state.charge_state, null, '\t'))); - el.appendChild(state_json); - info_div.appendChild(el); - - home = document.createElement('p'); if (state.location_data.home) { home.appendChild(document.createTextNode("At home")); @@ -77,6 +68,25 @@ } info_div.appendChild(home); + + + el = document.createElement('p'); + el.appendChild(document.createTextNode("Full charge state:")); + + state_json = document.createElement('pre'); + state_json.appendChild(document.createTextNode(JSON.stringify(state.charge_state, null, '\t'))); + el.appendChild(state_json); + info_div.appendChild(el); + + el = document.createElement('p'); + el.appendChild(document.createTextNode("Full climate state:")); + + state_json = document.createElement('pre'); + state_json.appendChild(document.createTextNode(JSON.stringify(state.climate_state, null, '\t'))); + el.appendChild(state_json); + info_div.appendChild(el); + + } function get_emoji(charge_state) {