Error with counter

Create a file counter in yaml

br_humidity_counter:
     title: "Mirror Counter"
     initial: 3
     step: 1
     minimum: 0
     maximum: 3
     restore: true

Then I change it

br_humidity_counter:
     title: "Mirror Counter"
     initial: 2
     step: 1
     minimum: 0
     maximum: 2
     restore: true

but the counter still puts a maximum of 3. I cleared all files and rebooted the system but it doesn’t help.
How to solve the problem?

Missing the colon in the step: 1 declaration.

It’s a typo. In code with :

br_humidity_counter:
  name: "Счетчик отключения зеркала"
  initial: 2
  step: 1
  minimum: 0
  maximum: 2
  restore: true