forked from platypush/platypush
Show temperature and humidity on the DateTimeWeather widget upon sensor events only if the sensor data is numeric.
This commit is contained in:
parent
bfa296e7c5
commit
5638c567ff
15 changed files with 16 additions and 16 deletions
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.95bedba1.js"></script><script defer="defer" type="module" src="/static/js/app.d89d7cfb.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.11a00465.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.79dede0c.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.9cad3451.js" nomodule></script></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.95bedba1.js"></script><script defer="defer" type="module" src="/static/js/app.43713bf2.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.11a00465.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.79dede0c.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.39523ae1.js" nomodule></script></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/3498-legacy.ba08d22a.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/3498-legacy.ba08d22a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/3498-legacy.ba08d22a.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/3498-legacy.ba08d22a.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/3498.c77d3b8c.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/3498.c77d3b8c.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/3498.c77d3b8c.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/3498.c77d3b8c.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -14,14 +14,14 @@
|
|||
<div class="row" v-if="_showSensors && Object.keys(sensors).length">
|
||||
<div class="col-3">
|
||||
<Sensor icon-class="fas fa-thermometer-half" :value="sensors.temperature" unit="°"
|
||||
v-if="sensors.temperature != null" />
|
||||
v-if="typeof sensors.temperature === 'number'" />
|
||||
</div>
|
||||
|
||||
<div class="col-6"> </div>
|
||||
|
||||
<div class="col-3">
|
||||
<Sensor icon-class="fas fa-tint" :value="sensors.humidity" unit="%"
|
||||
v-if="sensors.humidity != null" />
|
||||
v-if="typeof sensors.humidity === 'number'" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue