Placeholder wind/rain measurements
This commit is contained in:
@@ -130,7 +130,7 @@ onMounted(async () => {
|
||||
</div>
|
||||
<div class="flex-r align-items-center gap-2">
|
||||
<div class="fs-6">
|
||||
{{ data.temperature.toFixed(0) }}°C
|
||||
{{ data.temperature?.toFixed(0) }}°C
|
||||
</div>
|
||||
<div class="flex-c fg-muted">
|
||||
<span class="hi">↑ {{ 0 }}°</span>
|
||||
|
||||
@@ -505,7 +505,7 @@ def read_rain(c):
|
||||
|
||||
# ── Wind ──────────────────────────────────────────────────────────────────────
|
||||
|
||||
def read_rain(c):
|
||||
def read_wind(c):
|
||||
try:
|
||||
write(c, 'wind', {
|
||||
'wind_direction': 0,
|
||||
|
||||
Reference in New Issue
Block a user