Last week I upgraded my OH5.1.1 under win11 to 5.1.2. Below is one chart example under 5.1.1. The chart shows my electricity consumption in Feb 2026. Both in 5.1.1 and 5.1.2 the left and right arrow buttons work so they both change the month by 1.
When I click on the Feb 2026 button, a calendar is opened (see the screenshot below).
I can then change the month and year by clicking the arrow buttons. In 5.1.1 when I click on any day the month/year are changed but in 5.1.2 nothing happens, i.e. the month is still Feb and year 2026. It seems that 5.1.2 broke this widget somehow. Below is the code for my widget:
uid: Sahkonkulutus_kuukausi
tags: []
props:
parameters:
- context: item
description: Main toggle item (use for single toggle or as main switch for group)
label: Item
name: item
required: false
type: TEXT
- context: text
default: You forgot to set a card title
description: Pretty card label
label: Title
name: title
required: false
type: TEXT
parameterGroups: []
timestamp: Mar 13, 2024, 6:51:01 AM
component: f7-card
config:
class:
- padding-bottom
title: =props.title
slots:
default:
- component: f7-row
config:
class:
- margin-top
slots:
default:
- component: f7-col
config:
width: 90
slots:
default:
- component: oh-chart
config:
chartType: month
label: Kulutus
slots:
dataZoom:
- component: oh-chart-datazoom
config:
type: inside
grid:
- component: oh-chart-grid
config:
bottom: 60
containLabel: false
height: 50%
left: "53"
width: 75%
legend:
- component: oh-chart-legend
config:
bottom: 3
type: scroll
series:
- component: oh-aggregate-series
config:
aggregationFunction: diff_last
dimension1: date
gridIndex: 0
item: =props.item
markLine:
data:
- lineStyle:
color: blue
type: solid
name: keskiarvo
type: average
name: Sähkönkulutus
service: influxdb
type: bar
xAxisIndex: 0
yAxisIndex: 0
tooltip:
- component: oh-chart-tooltip
config:
action: analyzer
actionAnalyzerChartType: day
actionAnalyzerItems:
- props.item
aggregationFunction: sum
presetFeatures:
- dataZoom
right: right
show: true
top: top
xAxis:
- component: oh-category-axis
config:
categoryType: month
gridIndex: 0
monthFormat: default
name: Päivä
nameGap: 25
nameLocation: center
weekdayFormat: default
yAxis:
- component: oh-value-axis
config:
gridIndex: 0
name: Kulutus (kWh)
nameGap: 38
nameLocation: center
Any ideas why the widget is not working properly under 5.1.2?

