State automation stopped working after 0.46 update

I updated from 0.45.1 to 0.46 and now state automations have stopped working.

For example I have a CoolCam door sensor, it shows up as a binary sensor and changes state correctly even after the update, but my automations won’t trigger anymore.
I checked and yes, I use state: ‘on’ so I changed it to “to:” per the release notes, no luck… I then added a from, but still no luck.

What’s going on?

- alias: 'Kitchen Cabinet - Bright'
  trigger:
    - platform: state
      entity_id: binary_sensor.kitchen_cabinet_sensor_19_0
      from: 'off'
      to: 'on'
  action:
    - service: light.turn_on
      data:
        entity_id: light.cabinet_lighting
        rgb_color: [255, 197, 143]
        brightness: 255

Has the automation been switched off? Happened to me at some point over the last few days and took me ages to work it out.

you need
initial_state: 'on'
or your automation will be off by default on server start

^technically it is supposed to remember the last state it was in if you omit that line, which is more useful to me, but for some reason a few days days ago it randomly switched a load off.

I don’t know what’s causing this issue but after I downgraded to 0.45.1 (which said there were errors in the automations) nothing worked so I upgraded back to 0.46 then without me doing anything all errors went away… But this still didn’t work… But after like 10 restarts/reboots it magically started working by it self?!

Something is obviously wrong, question is where…