Color Historic state

I have a rule for presence simulation and have problem with my color items.

I use JDBC MariaDB as persistence.

when i use

light.historicState(, persistence).state.toString

i get on all color items

 Script execution of rule with UID 'Simulering' failed: class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap')

They are stored in MariaDB as varchar as e.g. 184,100,52.

All other items works ok.

What can be the problem?


I submitted a fix for this