What am I doing wrong here? I'm not an expert, but I've usually been able to figure out how to write the code. I know I'm not following a correct format but I cant figure out what it is. When adding the second device to the accessories it only loads the first one and not the second one.
"platforms": [{
"platform": "BelkinWeMo",
"name": "WeMo Platform"
}, {
"platform": "Hue",
"users": {"001788FFFE102492": "
},
"lights": true
}, {
"platform": "Wink",
"name": "Wink",
"client_id": "gYRevDb3tho9kFU",
"client_secret": "aP5EQo0lB",
"fan_ids": [744103,746203],
"hide_groups": ["garage_door","thermostat"],
"access_token": "w0O_t_HkG8Wmgx",
"refresh_token": "GxfOVNdBL1v9bl"
}, {
"platform": "AppleTV",
"name": "Apple TV",
"showPairSwitches": false,
"hideWelcomeMessage": true,
"devices": [{
"id": "LivingRoom",
"name": "Living Room Apple TV",
"credentials": "648BCA9D-BBA2-4581-9448-01B8A77E911F:343837382d344637372d344230352d423642312d384336343144303532344436:31613434343564372d643963612d346663652d626531302d393063343132623331316438:e28f4d7479e0c3ae9624e3050cbce6939b3ac176242daed6bca41ee0312dce95:af14526c9d3d31b76301f8fbf151a0cd1a4a101d83e79"
}, {
"id": "Bedroom",
"name": "Bedroom TV",
"credentials": "3C07946F-6A8E-4C8F-22F9-626675991AD3:38353532383532392d463331302d343337432d393231382d363639463839433341314531:39366537353638332d653564342d343761632d393662612d653339663461323861333565:552cf616faba23e0c8bafc7ba5857b911b923f84ad202e19a95c4cc158e6f900:7c1a8fa45a6af521acea258959bfbf175fcf53af95d3269ea6a20630"
}
],
"accessories": [{
"deviceID": "Bedroom",
"name": "Cable",
"command": [
{
"command": "tv",
"repeat": 2,
"interval": 3.0,
"pause": 4.0
},
{
"command": "select"
},
{
"deviceID": "LivingRoom",
"name": "Directv",
"command": [
{
"command": "tv",
"repeat": 2,
"interval": 3.0,
"pause": 4.0
},
{
"command": "select"
}
]
}
]
}
]
}, {
"platform": "ZP",
"service": "light",
"brightness": true,
"speakers": true
}]