Failed to connect to bulb, A socket error occurred

今天在接yeelight,
用小米APP可以控制,也得到了灯的地址,
参照文档添加以下信息:
light:

  • platform: yeelight
    devices:
    10.10.10.6:
    name: Living Room
    transition: 1000
    use_music_mode: True #(defaults to False)

提示:Failed to connect to bulb 10.10.10.6, yeelight_rgb_7c49eb139587: A socket error occurred when sending the command.