Breaking changes .38 to latest version

Hi

Can anyone tell me if there is any chnages that i need to do in relation to my config. Im finally getting round to updating from .38 to the latest version. I only have simple mqtt esp relays and mqtt esp buttons with the following config. (not all listed)

thanks

binary_sensor 9:
  platform: mqtt
  state_topic: "/LSW/NURSW/state"
  name: "NURSW"
  qos: 0
  payload_on: "1"
  payload_off: "0"

binary_sensor 10:
  platform: mqtt
  state_topic: "/LSW/BATHSW/state"
  name: "BATHSW"
  qos: 0
  payload_on: "1"
  payload_off: "0"

automation:
  - alias: 'OutLight'
    trigger:
      - platform: state
        entity_id: binary_sensor.OutLight
        state: 'on'
    action:
      - service: homeassistant.toggle
        entity_id: switch.OutsideLight

  - alias: 'LRoom'
    trigger:
      - platform: state
        entity_id: binary_sensor.LRoom
        state: 'on'
    action:
      - service: homeassistant.toggle
        entity_id: switch.LivingRoom

switch esploftside:
  platform: mqtt
  name: LoftSide
  state_topic: "/loft4/loftside/state"
  command_topic: "/loft4/gpio/13"
  payload_on: "1"
  payload_off: "0"
  qos: 0
#  retain: true
  optimistic: false

switch esplightbox:
  platform: mqtt
  name: LightBox
  state_topic: "/lbox/glass/state"
  command_topic: "/lbox/gpio/16"
  qos: 0
  payload_on: "1"
  payload_off: "0"
  optimistic: false

Someone may be able to tell you if anything is applicable, however, there have been a lot of changes since then.

Release notes are available here:

You have to use to: 'on' in your automation state triggers.
The state alias for to is deprecated since version 0.46.

thanks folks