If your ecobee3 thermostat’s name is Dining Room, you ought to be able to get the occupancy state like this:
ecobee="<[123456789012#remoteSensors(Dining Room).capability(occupancy).value]"
If your ecobee3 thermostat’s name is Dining Room, you ought to be able to get the occupancy state like this:
ecobee="<[123456789012#remoteSensors(Dining Room).capability(occupancy).value]"