Odd behaviour from Broadlink SPmini Switches

Been running HA for a few weeks now. Have 5 SPmini switches, 3 RMmini IR controllers and 3 Orvibo switches. I added a switch last night and everything seemed fine. Using the e-Control app from Broadlink on my iPhone I was able to detect it and add it as a switch. Using the app every thing works fine. Added the switch to my HA setup ( was detected in knowndevices.yaml when I looked there. One switch is connected to the bedroom lamp and another to a dehumidifier.

Now the weird part…Starting HA with lamp off and dehumidifier on shows state of both off. When I turn on the lamp the switch on HA for the dehumidifier changes state to on. When I turn off the lamp the lamp is turned off and the state changes to off but the dehumidifier stays on but its state changes to off.
I turn the light back on then I turn off the dehumidifier off. The light turns off and the dehumidifier stays on.

Here is what I have in known devices.yaml ( I modified the name manually ).

broadlink_spminit1e4bfb9:
  hide_if_away: false
  mac: 34:EA:34:E4:BF:B9
  name: BroadLink SPmini Bedroom Lamp
  picture:
  track: true
  vendor: HangZhou Gubei Electronics Technology Co.,Ltd

broadlink_outlett1e49fc4:
  hide_if_away: false
  mac: 34:EA:34:E4:9F:C4
  name: BroadLink SPmini Spare Bedroom
  picture:
  track: true
  vendor: HangZhou Gubei Electronics Technology Co.,Ltd

and here is what I have in switches.yaml

- platform: broadlink
  host: 192.168.1.27
  mac: '34:EA:34:E4:BF:B9'
  timeout: 5
  type:  spminiplus
  friendly_name: 'Bedroom Lamp'

- platform: broadlink
  host: 192.168.1.27
  mac: '34:EA:34:E4:9F:C4'
  timeout: 5
  type:  spminiplus
  friendly_name: 'Spare Bedroom Dehumidifier'  

Noticed that the MAC address is very similar but still unique. I have one other switch with similar MAC address - the other two switches start with B4:43:0D.

Config check passes. No errors in the log. Again - everything works fine using the e-Control app.

Any pointers on how to debug this - other than throwing away the new switch and getting another.

@Sam

I believe that you have entered the same IP address for both of your switches. This is why your state changes and on/off signals are messing up.

Kahthan

Thank you … I looked at this several times and missed it every time. Fresh set of eyes is always good. Works fine now.

Thanks again