Scenes with ESPHome not working correctly

So I’m having trouble with scenes with ESPHome, I have a Wemos Mini D1 configured using the partition module in some DIY Nanoleafs, all works well but when I try to create a scene I get JSON errors in the ESPHome log and one of the panels doesn’t change colours but click the scene button again and it will (sometimes takes 3 clicks).

This is the log from ESPHome I get (notice that 3 is missing from the first scene and 6 from the second scene):

[22:56:08][W][json:054]: Parsing JSON failed.
[22:56:08][W][json:054]: Parsing JSON failed.
[22:56:10][D][light:261]: '5' Setting:
[22:56:10][D][light:274]:   Brightness: 100%
[22:56:10][D][light:283]:   Red=0%, Green=0%, Blue=100%
[22:56:10][D][light:300]:   Transition Length: 3.0s
[22:56:10][D][light:261]: '1' Setting:
[22:56:10][D][light:274]:   Brightness: 100%
[22:56:10][D][light:283]:   Red=100%, Green=0%, Blue=0%
[22:56:10][D][light:300]:   Transition Length: 3.0s
[22:56:10][D][light:261]: '4' Setting:
[22:56:10][D][light:274]:   Brightness: 100%
[22:56:10][D][light:283]:   Red=0%, Green=100%, Blue=0%
[22:56:10][D][light:300]:   Transition Length: 3.0s
[22:56:10][D][light:261]: '6' Setting:
[22:56:10][D][light:274]:   Brightness: 100%
[22:56:10][D][light:283]:   Red=100%, Green=0%, Blue=49%
[22:56:10][D][light:300]:   Transition Length: 3.0s
[22:56:10][D][light:261]: '2' Setting:
[22:56:10][D][light:274]:   Brightness: 100%
[22:56:10][D][light:283]:   Red=100%, Green=50%, Blue=0%
[22:56:10][D][light:300]:   Transition Length: 3.0s
[22:56:10][W][json:054]: Parsing JSON failed.
[22:56:10][W][json:054]: Parsing JSON failed.
[22:56:13][D][light:261]: '3' Setting:
[22:56:13][D][light:274]:   Brightness: 100%
[22:56:13][D][light:283]:   Red=100%, Green=100%, Blue=0%
[22:56:13][D][light:300]:   Transition Length: 3.0s
[22:56:13][D][light:261]: '5' Setting:
[22:56:13][D][light:274]:   Brightness: 100%
[22:56:13][D][light:283]:   Red=0%, Green=0%, Blue=100%
[22:56:13][D][light:300]:   Transition Length: 3.0s
[22:56:13][D][light:261]: '1' Setting:
[22:56:13][D][light:274]:   Brightness: 100%
[22:56:13][D][light:283]:   Red=100%, Green=0%, Blue=0%
[22:56:13][D][light:300]:   Transition Length: 3.0s
[22:56:13][D][light:261]: '4' Setting:
[22:56:13][D][light:274]:   Brightness: 100%
[22:56:13][D][light:283]:   Red=0%, Green=100%, Blue=0%
[22:56:13][D][light:300]:   Transition Length: 3.0s
[22:56:13][D][light:261]: '2' Setting:
[22:56:13][D][light:274]:   Brightness: 100%
[22:56:13][D][light:283]:   Red=100%, Green=50%, Blue=0%
[22:56:13][D][light:300]:   Transition Length: 3.0s
[22:56:13][W][json:054]: Parsing JSON failed.
[22:56:13][W][json:054]: Parsing JSON failed.

And this is my scenes.yaml:

core-ssh:/config# cat scenes.yaml 
- name: WSLeaf Rainbow
  entities:
    light.1:
      state: true
      brightness: 255
      rgb_color: [255,0,0]
      transition: 3
    light.2:
      state: true
      brightness: 255
      rgb_color: [255,128,0]
      transition: 3
    light.3:
      state: true
      brightness: 255
      rgb_color: [255,255,0]
      transition: 3
    light.4:
      state: true
      brightness: 255
      rgb_color: [0,255,0]
      transition: 3
    light.5:
      state: true
      brightness: 255
      rgb_color: [0,0,255]
      transition: 3
    light.6:
      state: true
      brightness: 255
      rgb_color: [255,0,127]
      transition: 3

- name: WSLeaf Pastel
  entities:
    light.1:
      state: true
      brightness: 255
      rgb_color: [224,254,254]
      transition: 3
    light.2:
      state: true
      brightness: 255
      rgb_color: [199,206,234]
      transition: 3
    light.3:
      state: true
      brightness: 255
      rgb_color: [255,218,193]
      transition: 3
    light.4:
      state: true
      brightness: 255
      rgb_color: [255,154,162]
      transition: 3
    light.5:
      state: true
      brightness: 255
      rgb_color: [255,255,216]
      transition: 3
    light.6:
      state: true
      brightness: 255
      rgb_color: [181,234,215]
      transition: 3

Anyone got any insight as to what might be going on?

These are my DIY “WSLeafs” for anyone interested, there’s about 7 hours of print time for each leaf and another 40 or so minutes in wiring and soldering time for each leaf, it would probably just be cheaper to buy them after I calculate how much time is spent making them!
2019-09-02