diff --git a/ReleaseNotes.md b/ReleaseNotes.md index b94820a..8a05e95 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -17,5 +17,6 @@ There is compatibility between components with v4.0, v4.0.1 and v4.0.2, then you | Change | Criticality | Page/area | Components affected | | :-- | :--: | :--: | :--: | | Fix incorrect addressing on short press of button02 at buttonpage03 | Critical | `buttonpage03` | TFT (US model only) | -| Fix incorrect service call for Media Player on short press at button pages | Medium | `buttonpage01`
`buttonpage02`
`buttonpage03`
`buttonpage04` | Blueprint | +| Fix incorrect service call for Media Player on short press at button pages | Medium | `buttonpageXX` | Blueprint | | Update to customization instructions | Low | N/A | GitHub page (docs) | +| Use UTC for date selection on weather pages | Low | `weatherXX` | Blueprint | \ No newline at end of file diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 4a697a6..c7c848a 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -8463,8 +8463,8 @@ action: {{ state_attr(weather_entity, "forecast") | default([]) | selectattr("datetime", "defined") - | selectattr("datetime", ">=", (today_at("00:00") + timedelta(days= page_index)) | as_timestamp | timestamp_local ) - | selectattr("datetime", "<", (today_at("00:00") + timedelta(days= (page_index+1))) | as_timestamp | timestamp_local ) + | selectattr("datetime", ">=", (today_at("00:00") + timedelta(days= page_index)) | as_timestamp | timestamp_utc ) + | selectattr("datetime", "<", (today_at("00:00") + timedelta(days= (page_index+1))) | as_timestamp | timestamp_utc ) | list }} {% else %} @@ -8474,7 +8474,7 @@ action: | selectattr("datetime", "defined") | selectattr("datetime", ">=", (today_at("00:00") + timedelta(days= page_index)) | as_timestamp | as_datetime ) | selectattr("datetime", "<", (today_at("00:00") + timedelta(days= (page_index+1))) | as_timestamp | as_datetime ) - | map(attribute="datetime") | list | first | as_timestamp | timestamp_local + | map(attribute="datetime") | list | first | as_timestamp | timestamp_utc if state_attr(weather_entity, "forecast") | default([]) | selectattr("datetime", "defined") | selectattr("datetime", ">=", (today_at("00:00") + timedelta(days= page_index)) | as_timestamp | as_datetime ) @@ -8559,8 +8559,8 @@ action: {% elif metnoweather and metnoweather_hourly_forecast %} {{ metnoweather_hourly_forecast | selectattr("datetime", "defined") - | selectattr("datetime", ">=", (today_at("00:00") + timedelta(days= page_index)) | as_timestamp | timestamp_local ) - | selectattr("datetime", "<", (today_at("00:00") + timedelta(days= (page_index+1))) | as_timestamp | timestamp_local ) + | selectattr("datetime", ">=", (today_at("00:00") + timedelta(days= page_index)) | as_timestamp | timestamp_utc ) + | selectattr("datetime", "<", (today_at("00:00") + timedelta(days= (page_index+1))) | as_timestamp | timestamp_utc ) | list }} {% endif %}