We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59bd9e commit c4ed2d9Copy full SHA for c4ed2d9
static/js/terrariumpi.js
@@ -408,9 +408,9 @@ function update_weather(data) {
408
}
409
410
function update_dashboard_environment(name, value) {
411
- var mode_translations = {'sensor' : '{{_('Sensor')}}'.toLowerCase(),
412
- 'weather':'{{_('Weather')}}'.toLowerCase(),
413
- 'timer':'{{_('Timer')}}'.toLowerCase()};
+ var mode_translations = {'sensor' : '{{_('Sensor')}}',
+ 'weather':'{{_('Weather')}}',
+ 'timer':'{{_('Timer')}}'};
414
var systempart = $('div.environment_' + name);
415
if (systempart.length === 0 || Object.keys(value).length === 0 || !value.enabled) {
416
systempart.find('table.tile_info').hide();
0 commit comments