Skip to content

Commit

Permalink
Update weather-chart-cardx-editor.js
Browse files Browse the repository at this point in the history
Add Dew Point Forecast Switch to Options
  • Loading branch information
dxmnkd316 authored Oct 4, 2024
1 parent ab88f4d commit ed7e47d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/weather-chart-cardx-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,15 @@ class WeatherChartCardxEditor extends LitElement {
Rounding Temperatures
</label>
</div>
<div class="switch-container">
<ha-switch
@change="${(e) => this._valueChanged(e, 'forecast.show_dew_point_forecast')}"
.checked="${forecastConfig.show_dew_point_forecast !== false}"
></ha-switch>
<label class="switch-label">
Show Dew Point Forecast
</label>
</div>
<div class="switch-container">
<ha-switch
@change="${(e) => this._valueChanged(e, 'forecast.disable_animation')}"
Expand Down

0 comments on commit ed7e47d

Please sign in to comment.