Persist device that is taken offline during the day

Hi,

I have two yeelight lamps set up using yeelight:

yeelight:
  devices:
    192.168.1.159:
      name: living room
    192.168.1.165:
      name: bedroom

The one in the bedroom is always on and always available in HA, but the on in the living room can be plugged out during the day. This makes it disappear in HA and only a restart seems to be able to get it back when the device has been plugged in again.

Is there a setting I am missing to persist the bulbs?

Thanks!